Merge pull request #48 from antoniocasero/master

Add support to C and C++ files in ‘Compile sources’
This commit is contained in:
Yonas Kolb
2017-09-09 19:56:03 +02:00
committed by GitHub
+1 -1
View File
@@ -429,7 +429,7 @@ public class PBXProjGenerator {
}
if let fileExtension = path.extension {
switch fileExtension {
case "swift", "m": return .sources
case "swift", "m", "cpp": return .sources
case "h", "hh", "hpp", "ipp", "tpp", "hxx", "def": return .headers
case "xcconfig": return nil
default: return .resources