update
This commit is contained in:
@@ -1,8 +1,21 @@
|
||||
@echo off
|
||||
if NOT EXIST .\build mkdir .\build
|
||||
pushd .\build
|
||||
pwd
|
||||
cl -FC -Zi -Fe:handmade.exe ..\src\win32_handmade.cpp user32.lib Gdi32.lib
|
||||
cl ^
|
||||
-MT %= Make sure the C runtime library is statically linked =%^
|
||||
-Fmwin32_handmade.map %= Create a map file =%^
|
||||
-Gm- %= Turns off incremently building =%^
|
||||
-nologo %= No one cares you made the compiler Microsoft =%^
|
||||
-Oi %= Always use intrinsics =%^
|
||||
-EHa- %= Disable exception handling =%^
|
||||
-GR- %= Never use runtime type info from C++ =%^
|
||||
-WX -W4 -wd4201 -wd4100 -wd4189 %= Compiler warnings, -WX warnings as errors, -W4 warning level 4, -wdXXXX disable warning XXXX =%^
|
||||
-DHANDMADE_INTERNAL=1 -DHANDMADE_SLOW=1 -DHANDMADE_WIN32=1 %= Custom #defines =%^
|
||||
-FC %= Full path of source code file in diagnostics =%^
|
||||
-Zi %= Generate debugger info =%^
|
||||
-Fe:handmade.exe ..\src\win32_handmade.cpp %= Output filename, input filename =%^
|
||||
user32.lib Gdi32.lib %= Linked libraries =%^
|
||||
/link -subsystem:windows,5.1 %= Linker stuff =%
|
||||
popd
|
||||
exit /b
|
||||
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
start "ProconXInput" "C:\Program Files\ProconXInput\ProconXInput.exe"
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
set path=C:\source\repos\handmade\misc;%path%
|
||||
cd C:\source\repos\handmade\
|
||||
cd C:\source\repos\handmade\
|
||||
cmd /k
|
||||
Reference in New Issue
Block a user