Modified MSVC debugger options to allow parallel builds
We now generate a .pdb file per source file, rather than having multiple copies of the compiler trying to write to the same shared .pdb file
This commit is contained in:
parent
870ae7ede2
commit
503f57a24e
1 changed files with 2 additions and 2 deletions
|
|
@ -179,9 +179,9 @@ if env['CC'] == 'gcc' or env['CC'] == 'llvm-gcc':
|
|||
|
||||
elif env['CC'] == 'cl': # Visual Studio
|
||||
defaults.cxxFlags = '/EHsc'
|
||||
defaults.ccFlags = ' '.join(['/nologo', '/Zi', '/W3', '/Zc:wchar_t', '/Zc:forScope',
|
||||
defaults.ccFlags = ' '.join(['/nologo', '/W3', '/Zc:wchar_t', '/Zc:forScope',
|
||||
'/D_SCL_SECURE_NO_WARNINGS', '/D_CRT_SECURE_NO_WARNINGS', '/wd4996'])
|
||||
defaults.debugCcFlags = '/MD' # note: MDd breaks the Python module
|
||||
defaults.debugCcFlags = '/Zi /Fd${TARGET}.pdb'
|
||||
defaults.noOptimizeCcFlags = '/Od /Ob0'
|
||||
defaults.optimizeCcFlags = '/O2 /DNDEBUG'
|
||||
defaults.debugLinkFlags = '/DEBUG'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue