Fix pipeline test.

pull/278/head
Jussi Pakkanen 9 years ago
parent 7b45e6f5f5
commit 71ec62603f
  1. 3
      vs2010backend.py

@ -338,6 +338,9 @@ class Vs2010Backend(backends.Backend):
relpath = h.rel_to_builddir(proj_to_src_root)
ET.SubElement(inc_hdrs, 'CLInclude', Include=relpath)
for h in gen_hdrs:
if isinstance(h, str):
relpath = h
else:
relpath = h.rel_to_builddir(proj_to_src_root)
ET.SubElement(inc_hdrs, 'CLInclude', Include = relpath)
if len(sources) + len(gen_src) > 0:

Loading…
Cancel
Save