2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-29 13:30:32 +01:00

Merge branch 'msvc_pdb_fix' into 'master'

msvc_pdb: check compiled_tasks existence, so it will not misleadingly throw a stacktrace if no sources was added

See merge request ita1024/waf!2265
This commit is contained in:
ita1024 2019-11-04 20:25:26 +00:00
commit 00501901eb

View File

@ -10,6 +10,8 @@ def add_pdb_per_object(self):
around LNK4099. Flags are updated with a unique /Fd flag based on the
task output name. This is separate from the link pdb.
"""
if not hasattr(self, 'compiled_tasks'):
return
link_task = getattr(self, 'link_task', None)