mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
msvc_pdb: check compiled_tasks existence, so it will not misleadingly throw a stacktrace if no sources was added
This commit is contained in:
parent
64b74c7659
commit
261a589a66
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user