mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Change the compiler's big integer library to use libTomMath
This now replaces Bill's crappy big int implementation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user