21 lines
669 B
Batchfile
21 lines
669 B
Batchfile
@echo off
|
|
if exist "..\misc\compile_setup.bat" call "..\misc\compile_setup.bat"
|
|
|
|
set clang-flags=-O0 -Wall -Wno-unused-function -fno-exceptions -fdiagnostics-absolute-paths -g -o main.exe -Wl,user32.lib
|
|
|
|
pushd %~dp0
|
|
cl core_main.cpp -Zi -nologo -W3 -wd4200 -wd4267 -wd4244 -Fe:main.exe user32.lib
|
|
rem clang core_main.cpp %clang-flags%
|
|
rem ubuntu run clang core_main.cpp -O0 -Wall -Wno-unused-function -fno-exceptions -fdiagnostics-absolute-paths -g -o core.out
|
|
|
|
rem clang core_arena.cpp %clang-flags%
|
|
|
|
rem clang test.cpp
|
|
|
|
rem main.exe -testing
|
|
rem echo Building arms race
|
|
rem call examples/arms_race/build_arms_race.bat
|
|
rem main examples/arms_race/arms_race.core
|
|
|
|
popd
|