11 lines
503 B
Batchfile
11 lines
503 B
Batchfile
@echo off
|
|
|
|
set CommonCompilerOptions=/fsanitize=address /Zi /FC /nologo /DVN_ASAN_ENABLED=1 /DW32_LINK_SINGLE=1 /DVN_INTERNAL=1 /DVN_SLOW=1 /DVN_USE_INSTANCING=1 /Oi /W4 /WX /we4062 /wd4996 /wd4201 /wd4305 /wd4244 /wd4100 /wd4505 /std:c++17
|
|
|
|
if not exist "../build" mkdir "../build"
|
|
|
|
pushd "../build/"
|
|
rem cl /Zi /nologo /FC ../code/third_party/codegen/codegen.c
|
|
codegen ../code/
|
|
cl %CommonCompilerOptions% ../code/win32_main.cpp /link user32.lib gdi32.lib winmm.lib opengl32.lib /subsystem:console
|
|
popd |