您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

5 个月前
4 个月前
5 个月前
2 个月前
2 个月前
2 个月前
5 个月前
4 个月前
123456789101112131415161718192021222324
  1. @echo off
  2. if NOT EXIST .\build mkdir .\build
  3. pushd .\build
  4. cl ^
  5. -MT %= Make sure the C runtime library is statically linked =%^
  6. -Fmwin32_handmade.map %= Create a map file =%^
  7. -Gm- %= Turns off incremently building =%^
  8. -nologo %= No one cares you made the compiler Microsoft =%^
  9. -Oi %= Always use intrinsics =%^
  10. -EHa- %= Disable exception handling =%^
  11. -GR- %= Never use runtime type info from C++ =%^
  12. -WX -W4 -wd4201 -wd4100 -wd4189 %= Compiler warnings, -WX warnings as errors, -W4 warning level 4, -wdXXXX disable warning XXXX =%^
  13. -DHANDMADE_INTERNAL=1 -DHANDMADE_SLOW=1 -DHANDMADE_WIN32=1 %= Custom #defines =%^
  14. -FC %= Full path of source code file in diagnostics =%^
  15. -Zi %= Generate debugger info =%^
  16. -Fe:handmade.exe ..\src\win32_handmade.cpp %= Output filename, input filename =%^
  17. user32.lib Gdi32.lib winmm.lib %= Linked libraries =%^
  18. /link -subsystem:windows,5.1 %= Linker stuff =%
  19. popd
  20. exit /b
  21. :error
  22. echo Failed with error #%errorlevel%.
  23. exit /b %errorlevel%