diff options
author | ZuBsPaCe <kurt.rudin@gmx.net> | 2015-10-29 14:35:35 +0100 |
---|---|---|
committer | ZuBsPaCe <kurt.rudin@gmx.net> | 2015-10-30 03:13:55 +0100 |
commit | fff7cedbe18e0ebf4bd22f05d2b068d6cd85b739 (patch) | |
tree | 306f624a3cb17afbda3ea4554cd57e131188236e /platform/windows | |
parent | b051914032aeb8112d22159d4009304f96a76ad8 (diff) |
Fixes Visual Studio 2015 parallel builds (-j switch)
Reference: http://stackoverflow.com/questions/284778/what-are-the-implications-of-using-zi-vs-z7-for-visual-studio-c-projects
fatal error C1041: cannot open program database 'C:\godot\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/detect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index f0d2a7cc40..f578e27390 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -203,14 +203,14 @@ def configure(env): env.Append(LINKFLAGS=['/SUBSYSTEM:CONSOLE']) elif (env["target"]=="debug_release"): - env.Append(CCFLAGS=['/Zi','/Od']) + env.Append(CCFLAGS=['/Z7','/Od']) env.Append(LINKFLAGS=['/DEBUG']) env.Append(LINKFLAGS=['/SUBSYSTEM:WINDOWS']) env.Append(LINKFLAGS=['/ENTRY:mainCRTStartup']) elif (env["target"]=="debug"): - env.Append(CCFLAGS=['/Zi','/DDEBUG_ENABLED','/DDEBUG_MEMORY_ENABLED','/DD3D_DEBUG_INFO','/Od']) + env.Append(CCFLAGS=['/Z7','/DDEBUG_ENABLED','/DDEBUG_MEMORY_ENABLED','/DD3D_DEBUG_INFO','/Od']) env.Append(LINKFLAGS=['/SUBSYSTEM:CONSOLE']) env.Append(LINKFLAGS=['/DEBUG']) |