4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 07:13:30 +08:00

Merge pull request #1157 from FishNeil/master

Fix the project generation issue in vs2012.py.
This commit is contained in:
Bernard Xiong 2018-01-03 19:19:41 +08:00 committed by GitHub
commit 2d7fac37bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))