Merge pull request #48 from antoniocasero/master

Add support to C and C++ files in ‘Compile sources’
This commit is contained in:
Yonas Kolb authored and GitHub committed 2017-09-09 19:56:03 +02:00
commit 714daa8b7f
1 file changed
+1 -1
+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