2023-06-17 17:00:55 +00:00
|
|
|
@echo off
|
|
|
|
|
2023-06-21 16:59:36 +00:00
|
|
|
set CommonCompilerOptions=/Zi /FC /nologo /DVN_INTERNAL=1 /DVN_SLOW=1 /Oi /W4 /WX /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-06-17 21:06:25 +00:00
|
|
|
rem cl %CommonCompilerOptions% ../code/gen.cpp
|
|
|
|
rem gen.exe
|
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
|