mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make.bat: remove diagnostic output and msvc banners
This commit is contained in:
parent
216f343f09
commit
fcc6dd1d4d
12
make.bat
12
make.bat
@ -55,12 +55,12 @@ for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio
|
|||||||
)
|
)
|
||||||
|
|
||||||
if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
|
if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
|
||||||
call "%InstallDir%\Common7\Tools\vsdevcmd.bat" -arch=x64 -host_arch=x64
|
call "%InstallDir%\Common7\Tools\vsdevcmd.bat" -arch=x64 -host_arch=x64 -no_logo
|
||||||
) else (
|
) else (
|
||||||
goto :nocompiler
|
goto :nocompiler
|
||||||
)
|
)
|
||||||
|
|
||||||
cl.exe /w /volatile:ms /D_UNICODE /DUNICODE /Fo.v.c.obj /O2 /MD vc\v_win.c user32.lib kernel32.lib advapi32.lib shell32.lib /link /NOLOGO /OUT:v2.exe /INCREMENTAL:NO
|
cl.exe /nologo /w /volatile:ms /D_UNICODE /DUNICODE /Fo.v.c.obj /O2 /MD vc\v_win.c user32.lib kernel32.lib advapi32.lib shell32.lib /link /NOLOGO /OUT:v2.exe /INCREMENTAL:NO
|
||||||
|
|
||||||
if %ERRORLEVEL% GEQ 1 (
|
if %ERRORLEVEL% GEQ 1 (
|
||||||
echo cl.exe failed to build V
|
echo cl.exe failed to build V
|
||||||
@ -98,11 +98,3 @@ echo Exiting from error
|
|||||||
exit /b 1
|
exit /b 1
|
||||||
|
|
||||||
:success
|
:success
|
||||||
dir
|
|
||||||
if exist "v.exe" (
|
|
||||||
echo V has been successfully built
|
|
||||||
exit
|
|
||||||
) else (
|
|
||||||
echo v.exe was not generated - Create an issue at 'https://github.com/vlang'
|
|
||||||
exit /b 1
|
|
||||||
)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user