summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Yang <[email protected]>2018-01-03 18:52:45 +0800
committerNeil Yang <[email protected]>2018-01-03 18:52:45 +0800
commit639705c705ba6f8e825e5ebaf3b3874b4ac37d29 (patch)
tree076e210940ced793ec7758bfca6731b5ba81d0ee
parentd8ec36a96495c07a277eec8b7c70ed00e7927227 (diff)
一个小问题
应该使用utils对象
-rw-r--r--tools/vs2012.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vs2012.py b/tools/vs2012.py
index 76850279bb..e8305e5034 100644
--- a/tools/vs2012.py
+++ b/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))