(program, elem, project_path)
| 71 | File.set('RelativePath', path) |
| 72 | |
| 73 | def VS_AddHeadFilesGroup(program, elem, project_path): |
| 74 | utils.source_ext = [] |
| 75 | utils.source_ext = ["h"] |
| 76 | for item in program: |
| 77 | utils.walk_children(item) |
| 78 | utils.source_list.sort() |
| 79 | # print utils.source_list |
| 80 | |
| 81 | for f in utils.source_list: |
| 82 | path = _make_path_relative(project_path, f) |
| 83 | File = SubElement(elem, 'File') |
| 84 | try: |
| 85 | path = path.decode(fs_encoding) |
| 86 | except: |
| 87 | path = path |
| 88 | File.set('RelativePath', path) |
| 89 | |
| 90 | def VSProject(target, script, program): |
| 91 | project_path = os.path.dirname(os.path.abspath(target)) |
no test coverage detected