diff options
| author | gingerBill <bill@gingerbill.org> | 2019-09-01 22:57:53 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-09-01 22:57:53 +0100 |
| commit | c93872cc1371d60863e2dae6c08f556f32dd5a8a (patch) | |
| tree | ad439324885e88dea4d4e6b0dabd4d0e51ffc58e /build.bat | |
| parent | 97dece15d73a6c4830f5bf01d82014cb0eeff062 (diff) | |
Thread pool fixes
Diffstat (limited to 'build.bat')
| -rw-r--r-- | build.bat | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -4,14 +4,14 @@ set exe_name=odin.exe :: Debug = 0, Release = 1 -set release_mode=0 +set release_mode=1 set compiler_flags= -nologo -Oi -TP -fp:precise -Gm- -MP -FC -GS- -EHsc- -GR- if %release_mode% EQU 0 ( rem Debug - set compiler_flags=%compiler_flags% -Od -MDd -Z7 + set compiler_flags=%compiler_flags% -Od -MDd -Zi rem -DDISPLAY_TIMING ) else ( rem Release - set compiler_flags=%compiler_flags% -O2 -MT -Z7 -DNO_ARRAY_BOUNDS_CHECK + set compiler_flags=%compiler_flags% -O2 -MT -Zi -DNO_ARRAY_BOUNDS_CHECK ) set compiler_warnings= ^ @@ -40,9 +40,10 @@ del *.pdb > NUL 2> NUL del *.ilk > NUL 2> NUL -cl %compiler_settings% "src\main.cpp" ^ - /link %linker_settings% -OUT:%exe_name% ^ - && odin run examples/demo/demo.odin +rem cl %compiler_settings% "src\main.cpp" ^ + rem /link %linker_settings% -OUT:%exe_name% ^ + rem && odin build examples/demo/demo.odin -show-timings +odin check examples/demo/demo.odin -show-timings del *.obj > NUL 2> NUL |