Fix #444: win-scons include Visual Studio debug symbols

This commit is contained in:
2024-09-15 10:57:00 -05:00
committed by Celtic Minstrel
parent cc276a64db
commit 8a522bdcbf
5 changed files with 25 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ if env['debug']:
env.Append(CCFLAGS=['-g','-O0'])
elif platform == 'win32':
env.Append(CCFLAGS=['/Zi', '/Od'])
env.Append(LINKFLAGS=['/DEBUG'])
# This command generates the header with git revision information
# NOTE: Changes made here must also be made in pkg/gitrev.sh!