2023-06-17 17:00:55 +00:00
|
|
|
@echo off
|
|
|
|
|
2023-06-17 17:15:56 +00:00
|
|
|
set CommonCompilerOptions=/Zi /FC /nologo /DVN_INTERNAL=1 /DVN_SLOW=1 /Oi /W4 /WL /WX /wd4201 /wd4305 /wd4244 /wd4100 /wd4505 /std:c++17
|
|
|
|
|
|
|
|
if not exist "../build" mkdir "../build"
|
2023-06-17 17:00:55 +00:00
|
|
|
|
|
|
|
pushd "../build/"
|
|
|
|
|
|
|
|
REM cl %CommonCompilerOptions% ../code/gen.cpp
|
|
|
|
REM gen.exe
|
|
|
|
|
|
|
|
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
|