mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-03 10:09:43 +03:00
Generate PDB file if running debug version on Windows
This commit is contained in:
@@ -74,6 +74,7 @@ elif env['platform'] == "windows":
|
||||
env.Append(LIBS=['Advapi32', 'Winhttp', 'Rpcrt4', 'crypt32', 'OLE32'])
|
||||
if env['target'] in ('debug', 'd'):
|
||||
env.Append(CCFLAGS = ['-EHsc', '-D_DEBUG', '-MDd', '/DEBUG'])
|
||||
env['PDB'] = env['target_name'] + '.pdb'
|
||||
else:
|
||||
env.Append(CCFLAGS = ['-O2', '-EHsc', '-DNDEBUG', '-MD'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user