aboutsummaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-22 17:05:06 +0100
committergingerBill <bill@gingerbill.org>2021-08-22 17:05:06 +0100
commit36cb1f868ba0f88e11608c7d40fbc6709493f92b (patch)
treeb319a07ba849657a4cb16abf32b705a90c49a62b /build.bat
parent037cc679c4647260562cb553b1cd2549b9abd8ca (diff)
Embed the SDL2 libraries into `vendor:sdl2`
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat8
1 files changed, 5 insertions, 3 deletions
diff --git a/build.bat b/build.bat
index 3bd17c840..7fd2990b7 100644
--- a/build.bat
+++ b/build.bat
@@ -68,10 +68,12 @@ set linker_settings=%libs% %linker_flags%
del *.pdb > NUL 2> NUL
del *.ilk > NUL 2> NUL
-cl %compiler_settings% "src\main.cpp" "src\libtommath.cpp" /link %linker_settings% -OUT:%exe_name%
+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
-if %errorlevel% neq 0 goto end_of_build
-if %release_mode% EQU 0 odin run examples/demo/demo.odin
+rem if %errorlevel% neq 0 goto end_of_build
+rem if %release_mode% EQU 0 odin check examples/all
del *.obj > NUL 2> NUL