diff options
| author | gingerBill <bill@gingerbill.org> | 2021-07-11 16:08:16 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-07-11 16:08:16 +0100 |
| commit | 460e14e5860a503b8e7716ce18a29eb99f517cf7 (patch) | |
| tree | 058edb259fd5e6cab889f7b12156938c748509c0 /build.bat | |
| parent | ebcabb8a27ace67c3cd869a573df62b260000ee8 (diff) | |
Change the compiler's big integer library to use libTomMath
This now replaces Bill's crappy big int implementation
Diffstat (limited to 'build.bat')
| -rw-r--r-- | build.bat | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -46,7 +46,7 @@ if %release_mode% EQU 0 ( rem Debug set compiler_warnings= ^ -W4 -WX ^ - -wd4100 -wd4101 -wd4127 -wd4189 ^ + -wd4100 -wd4101 -wd4127 -wd4146 -wd4189 ^ -wd4201 -wd4204 ^ -wd4456 -wd4457 -wd4480 ^ -wd4512 @@ -70,10 +70,19 @@ set linker_settings=%libs% %linker_flags% del *.pdb > NUL 2> NUL del *.ilk > NUL 2> NUL -cl %compiler_settings% "src\main.cpp" /link %linker_settings% -OUT:%exe_name% +cl %compiler_settings% "src\main.cpp" "src\libtommath.c" /link %linker_settings% -OUT:%exe_name% +rem cl %compiler_settings% "src\main.cpp" /link %linker_settings% -OUT:%exe_name% if %errorlevel% neq 0 goto end_of_build -if %release_mode% EQU 0 odin run examples/demo/demo.odin + +odin run examples/demo +rem odin run examples/bug -show-more-timings -threaded-checker +rem odin check examples/demo -threaded-checker +rem odin build examples/demo +rem odin run examples/demo -threaded-checker +rem odin run examples/bug -show-more-timings +rem if %release_mode% EQU 0 odin check examples/bug -show-more-timings +rem if %release_mode% EQU 0 odin check examples/bug del *.obj > NUL 2> NUL |