一个小问题

应该使用utils对象
This commit is contained in:
Neil Yang 2018-01-03 18:52:45 +08:00
parent d8ec36a964
commit 639705c705
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ def VS_add_HeadFiles(program, elem, project_path):
ItemGroup = SubElement(elem, 'ItemGroup') ItemGroup = SubElement(elem, 'ItemGroup')
filter_h_ItemGroup = SubElement(filter_project, 'ItemGroup') filter_h_ItemGroup = SubElement(filter_project, 'ItemGroup')
for f in building.source_list: for f in utils.source_list:
path = _make_path_relative(project_path, f) path = _make_path_relative(project_path, f)
File = SubElement(ItemGroup, 'ClInclude') File = SubElement(ItemGroup, 'ClInclude')
File.set('Include', path.decode(fs_encoding)) File.set('Include', path.decode(fs_encoding))