Add .mm file as a source type

This commit is contained in:
Eric Miller
2017-11-01 17:35:31 -05:00
parent d540abc7d0
commit a27d65b7d0
+1 -1
View File
@@ -472,7 +472,7 @@ public class PBXProjGenerator {
}
if let fileExtension = path.extension {
switch fileExtension {
case "swift", "m", "cpp": return .sources
case "swift", "m", "mm", "cpp": return .sources
case "h", "hh", "hpp", "ipp", "tpp", "hxx", "def": return .headers
case "xcconfig", "entitlements", "gpx", "lproj", "apns": return nil
default: return .resources