|
8 | 8 |
|
9 | 9 | /* Begin PBXBuildFile section */
|
10 | 10 | <% if (project.cpp) { -%>
|
11 |
| - 5E46D8CD2428F78900513E24 /* example.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5E46D8CB2428F78900513E24 /* example.cpp */; }; |
| 11 | + 5E46D8CD2428F78900513E24 /* <%- project.identifier -%>.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5E46D8CB2428F78900513E24 /* <%- project.identifier -%>.cpp */; }; |
12 | 12 | 5E555C0D2413F4C50049A1A2 /* <%- project.name -%>.mm in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */; };
|
13 | 13 | <% } else if (project.swift) { -%>
|
14 |
| - 5E555C0D2413F4C50049A1A2 /* <%- project.name -%>.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.m */; }; |
| 14 | + 5E555C0D2413F4C50049A1A2 /* <%- project.name -%>.mm in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */; }; |
15 | 15 | F4FF95D7245B92E800C19C63 /* <%- project.name -%>.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4FF95D6245B92E800C19C63 /* <%- project.name -%>.swift */; };
|
16 | 16 | <% } else { -%>
|
17 |
| - 5E555C0D2413F4C50049A1A2 /* <%- project.name -%>.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.m */; }; |
| 17 | + 5E555C0D2413F4C50049A1A2 /* <%- project.name -%>.mm in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */; }; |
18 | 18 | <% } -%>
|
19 | 19 | /* End PBXBuildFile section */
|
20 | 20 |
|
|
33 | 33 | /* Begin PBXFileReference section */
|
34 | 34 | 134814201AA4EA6300B7C361 /* lib<%- project.name -%>.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = lib<%- project.name -%>.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
35 | 35 | <% if (project.cpp) { -%>
|
36 |
| - 5E46D8CB2428F78900513E24 /* example.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = example.cpp; path = ../cpp/example.cpp; sourceTree = "<group>"; }; |
37 |
| - 5E46D8CC2428F78900513E24 /* example.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = example.h; path = ../cpp/example.h; sourceTree = "<group>"; }; |
| 36 | + 5E46D8CB2428F78900513E24 /* <%- project.identifier -%>.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = <%- project.identifier -%>.cpp; path = ../cpp/<%- project.identifier -%>.cpp; sourceTree = "<group>"; }; |
| 37 | + 5E46D8CC2428F78900513E24 /* <%- project.identifier -%>.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = <%- project.identifier -%>.h; path = ../cpp/<%- project.identifier -%>.h; sourceTree = "<group>"; }; |
38 | 38 | B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = <%- project.name -%>.mm; sourceTree = "<group>"; };
|
39 | 39 | <% } else if (project.swift) { -%>
|
40 |
| - B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = <%- project.name -%>.m; sourceTree = "<group>"; }; |
| 40 | + B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = <%- project.name -%>.mm; sourceTree = "<group>"; }; |
41 | 41 | F4FF95D5245B92E700C19C63 /* <%- project.name -%>-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "<%- project.name -%>-Bridging-Header.h"; sourceTree = "<group>"; };
|
42 | 42 | F4FF95D6245B92E800C19C63 /* <%- project.name -%>.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = <%- project.name -%>.swift; sourceTree = "<group>"; };
|
43 | 43 | <% } else { -%>
|
44 | 44 | B3E7B5881CC2AC0600A0062D /* <%- project.name -%>.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = <%- project.name -%>.h; sourceTree = "<group>"; };
|
45 |
| - B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = <%- project.name -%>.m; sourceTree = "<group>"; }; |
| 45 | + B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = <%- project.name -%>.mm; sourceTree = "<group>"; }; |
46 | 46 | <% } -%>
|
47 | 47 | /* End PBXFileReference section */
|
48 | 48 |
|
|
69 | 69 | isa = PBXGroup;
|
70 | 70 | children = (
|
71 | 71 | <% if (project.cpp) { -%>
|
72 |
| - 5E46D8CB2428F78900513E24 /* example.cpp */, |
73 |
| - 5E46D8CC2428F78900513E24 /* example.h */, |
| 72 | + 5E46D8CB2428F78900513E24 /* <%- project.identifier -%>.cpp */, |
| 73 | + 5E46D8CC2428F78900513E24 /* <%- project.identifier -%>.h */, |
74 | 74 | B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */,
|
75 | 75 | <% } else if (project.swift) { -%>
|
76 | 76 | F4FF95D6245B92E800C19C63 /* <%- project.name -%>.swift */,
|
77 |
| - B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.m */, |
| 77 | + B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */, |
78 | 78 | F4FF95D5245B92E700C19C63 /* <%- project.name -%>-Bridging-Header.h */,
|
79 | 79 | <% } else { -%>
|
80 | 80 | B3E7B5881CC2AC0600A0062D /* <%- project.name -%>.h */,
|
81 |
| - B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.m */, |
| 81 | + B3E7B5891CC2AC0600A0062D /* <%- project.name -%>.mm */, |
82 | 82 | <% } -%>
|
83 | 83 | 134814211AA4EA7D00B7C361 /* Products */,
|
84 | 84 | );
|
|
142 | 142 | buildActionMask = 2147483647;
|
143 | 143 | files = (
|
144 | 144 | <% if (project.cpp) { -%>
|
145 |
| - 5E46D8CD2428F78900513E24 /* example.cpp in Sources */, |
| 145 | + 5E46D8CD2428F78900513E24 /* <%- project.identifier -%>.cpp in Sources */, |
146 | 146 | 5E555C0D2413F4C50049A1A2 /* <%- project.name -%>.mm in Sources */,
|
147 | 147 | <% } else if (project.swift) { -%>
|
148 | 148 | F4FF95D7245B92E800C19C63 /* <%- project.name -%>.swift in Sources */,
|
149 |
| - B3E7B58A1CC2AC0600A0062D /* <%- project.name -%>.m in Sources */, |
| 149 | + B3E7B58A1CC2AC0600A0062D /* <%- project.name -%>.mm in Sources */, |
150 | 150 | <% } else { -%>
|
151 |
| - B3E7B58A1CC2AC0600A0062D /* <%- project.name -%>.m in Sources */, |
| 151 | + B3E7B58A1CC2AC0600A0062D /* <%- project.name -%>.mm in Sources */, |
152 | 152 | <% } -%>
|
153 | 153 | );
|
154 | 154 | runOnlyForDeploymentPostprocessing = 0;
|
|
0 commit comments