(ProjectFiles, parent, gname, files, project_path)
| 53 | Unit.set('filename', path.decode(fs_encoding)) |
| 54 | |
| 55 | def CB_AddCFiles(ProjectFiles, parent, gname, files, project_path): |
| 56 | for f in files: |
| 57 | fn = f.rfile() |
| 58 | name = fn.name |
| 59 | path = os.path.dirname(fn.abspath) |
| 60 | |
| 61 | path = _make_path_relative(project_path, path) |
| 62 | path = os.path.join(path, name) |
| 63 | |
| 64 | Unit = SubElement(parent, 'Unit') |
| 65 | Unit.set('filename', path.decode(fs_encoding)) |
| 66 | Option = SubElement(Unit, 'Option') |
| 67 | Option.set('compilerVar', "CC") |
| 68 | |
| 69 | def CBProject(target, script, program): |
| 70 | project_path = os.path.dirname(os.path.abspath(target)) |
no test coverage detected