Fix build.bat

This commit is contained in:
gingerBill
2021-08-22 17:09:40 +01:00
parent 36cb1f868b
commit 0c5fa2cdd5
2 changed files with 7 additions and 9 deletions
+3 -5
View File
@@ -68,12 +68,10 @@ set linker_settings=%libs% %linker_flags%
del *.pdb > NUL 2> NUL
del *.ilk > NUL 2> NUL
rem cl %compiler_settings% "src\main.cpp" "src\libtommath.cpp" /link %linker_settings% -OUT:%exe_name%
cl %compiler_settings% "src\main.cpp" "src\libtommath.cpp" /link %linker_settings% -OUT:%exe_name% ^
&& odin run examples/demo -vet
cl %compiler_settings% "src\main.cpp" "src\libtommath.cpp" /link %linker_settings% -OUT:%exe_name%
rem if %errorlevel% neq 0 goto end_of_build
rem if %release_mode% EQU 0 odin check examples/all
if %errorlevel% neq 0 goto end_of_build
if %release_mode% EQU 0 odin check examples/all
del *.obj > NUL 2> NUL