Skip to content

Commit 714daa8

Browse files
authored
Merge pull request #48 from antoniocasero/master
Add support to C and C++ files in ‘Compile sources’
2 parents a4f47e9 + 09ef25b commit 714daa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/XcodeGenKit/PBXProjGenerator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public class PBXProjGenerator {
429429
}
430430
if let fileExtension = path.extension {
431431
switch fileExtension {
432-
case "swift", "m": return .sources
432+
case "swift", "m", "cpp": return .sources
433433
case "h", "hh", "hpp", "ipp", "tpp", "hxx", "def": return .headers
434434
case "xcconfig": return nil
435435
default: return .resources

0 commit comments

Comments
 (0)