Browse Source

Merge pull request #796 from Kev/windows-debug-symbols

Add debug information to Windows builds
Fabio Alessandrelli 3 years ago
parent
commit
9aa129caab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/windows.py

+ 1 - 0
tools/windows.py

@@ -28,6 +28,7 @@ def generate(env):
         env.Append(LINKFLAGS=["/WX"])
         env.Append(LINKFLAGS=["/WX"])
         if env["target"] == "debug":
         if env["target"] == "debug":
             env.Append(CCFLAGS=["/Z7", "/Od", "/EHsc", "/D_DEBUG", "/MDd"])
             env.Append(CCFLAGS=["/Z7", "/Od", "/EHsc", "/D_DEBUG", "/MDd"])
+            env.Append(LINKFLAGS=["/DEBUG:FULL"])
         elif env["target"] == "release":
         elif env["target"] == "release":
             env.Append(CCFLAGS=["/O2", "/EHsc", "/DNDEBUG", "/MD"])
             env.Append(CCFLAGS=["/O2", "/EHsc", "/DNDEBUG", "/MD"])
         if env["use_clang_cl"]:
         if env["use_clang_cl"]: