mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Merge pull request #48 from antoniocasero/master
Add support to C and C++ files in ‘Compile sources’
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user