(path)
| 668 | |
| 669 | class XcodeFile extends PrerequisiteFile { |
| 670 | addSource(path) { |
| 671 | let parts = this.tool.splitPath(path); |
| 672 | parts.fileReferenceID = this.id++; |
| 673 | parts.buildFileID = this.id++; |
| 674 | if (parts.extension == ".m") |
| 675 | parts.fileType = "sourcecode.c.objc"; |
| 676 | else |
| 677 | parts.fileType = "sourcecode.c.c"; |
| 678 | this.sources.push(parts); |
| 679 | } |
| 680 | addResource(path, folder) { |
| 681 | let parts = this.tool.splitPath(path); |
| 682 | parts.fileReferenceID = this.id++; |