Merge branch 'msvc-debug' into 'master'

msvc: add pdb_install_task with /DEBUG:* flags

See merge request ita1024/waf!2224
This commit is contained in:
ita1024 2019-04-18 06:11:07 +00:00
commit 88a88fa671
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ def apply_flags_msvc(self):
if not is_static:
for f in self.env.LINKFLAGS:
d = f.lower()
if d[1:] == 'debug':
if d[1:] in ('debug', 'debug:full', 'debug:fastlink'):
pdbnode = self.link_task.outputs[0].change_ext('.pdb')
self.link_task.outputs.append(pdbnode)