mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make.bat: remove obj file after compilation (msvc)
This commit is contained in:
parent
dacc129fd8
commit
d2c3c66ba4
5
make.bat
5
make.bat
@ -68,7 +68,9 @@ if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
|
||||
goto :nocompiler
|
||||
)
|
||||
|
||||
cl.exe /nologo /w /volatile:ms /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
|
||||
set ObjFile=.v.c.obj
|
||||
|
||||
cl.exe /nologo /w /volatile:ms /Fo%ObjFile% /O2 /MD vc\v_win.c user32.lib kernel32.lib advapi32.lib shell32.lib /link /NOLOGO /OUT:v2.exe /INCREMENTAL:NO
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo cl.exe failed to build V
|
||||
goto :compileerror
|
||||
@ -89,6 +91,7 @@ del v.pdb
|
||||
del v3.ilk
|
||||
del v3.pdb
|
||||
del vc140.pdb
|
||||
del %ObjFile%
|
||||
|
||||
goto :success
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user