浏览代码

一个小问题

应该使用utils对象
Neil Yang 7 年之前
父节点
当前提交
639705c705
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/vs2012.py

+ 1 - 1
tools/vs2012.py

@@ -134,7 +134,7 @@ def VS_add_HeadFiles(program, elem, project_path):
     ItemGroup = SubElement(elem, '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)
         File = SubElement(ItemGroup, 'ClInclude')
         File.set('Include', path.decode(fs_encoding))