From 639705c705ba6f8e825e5ebaf3b3874b4ac37d29 Mon Sep 17 00:00:00 2001 From: Neil Yang <34765783+FishNeil@users.noreply.github.com> Date: Wed, 3 Jan 2018 18:52:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 应该使用utils对象 --- tools/vs2012.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))