commit 77d73cd98ac2b500879762d27efa1499c1451434 parent 00c4e54383f405a79793a0abaf55124dd1b02025 Author: Michael Savage <mikejsavage@gmail.com> Date: Tue May 9 00:27:13 +0300 Generate proper debug info on Windows Diffstat:
scripts/gen_makefile.lua | | | 5 | +++-- |
diff --git a/scripts/gen_makefile.lua b/scripts/gen_makefile.lua @@ -7,7 +7,7 @@ local configs = { cxx = "...", lib = "...", - cxxflags = "/I . /c /Z7 /Zo /Oi /Gm- /GR- /EHa- /nologo /DNOMINMAX /D_USE_MATH_DEFINES /DWIN32_LEAN_AND_MEAN /DSTATIC_GAME", + cxxflags = "/I . /c /Oi /Gm- /GR- /EHa- /nologo /DNOMINMAX /D_USE_MATH_DEFINES /DWIN32_LEAN_AND_MEAN /DSTATIC_GAME", -- ldflags = "user32.lib shell32.lib opengl32.lib gdi32.lib Ws2_32.lib", ldflags = "user32.lib shell32.lib dbghelp.lib", warnings = "/W4 /wd4100 /wd4201 /wd4189 /wd4351 /wd4505 /wd4127 /wd4530 /wd4702 /D_CRT_SECURE_NO_WARNINGS", @@ -16,7 +16,8 @@ local configs = { [ "windows-32" ] = { }, [ "windows-debug" ] = { - cxxflags = "/Od /MTd", + cxxflags = "/Od /MTd /Z7 /Zo", + ldflags = "/Od /MTd /Z7 /Zo", }, [ "windows-release" ] = { cxxflags = "/O2 /MT",