2023-06-17 17:00:55 +00:00
|
|
|
@echo off
|
|
|
|
|
2023-09-05 17:50:49 +00:00
|
|
|
set CommonCompilerOptions=/Zi /FC /nologo /DVN_INTERNAL=1 /DVN_SLOW=1 /DVN_USE_INSTANCING=1 /Oi /W4 /WX /we4062 /wd4996 /wd4201 /wd4305 /wd4244 /wd4100 /wd4505 /std:c++17
|
2023-06-17 17:15:56 +00:00
|
|
|
|
|
|
|
if not exist "../build" mkdir "../build"
|
2023-06-17 17:00:55 +00:00
|
|
|
|
|
|
|
pushd "../build/"
|
2023-09-05 17:50:49 +00:00
|
|
|
rem cl /Zi /nologo /FC ../code/third_party/codegen/codegen.c
|
2023-07-19 15:09:41 +00:00
|
|
|
codegen ../code/
|
2023-06-17 17:00:55 +00:00
|
|
|
|
|
|
|
cl %CommonCompilerOptions% ../code/vn.cpp /LD /link /export:VN_UpdateAndRender /incremental:no
|
|
|
|
cl %CommonCompilerOptions% ../code/win32_main.cpp /link user32.lib gdi32.lib winmm.lib opengl32.lib
|
|
|
|
popd
|