-
Notifications
You must be signed in to change notification settings - Fork 3
include
To cause the generated .xcconfig file to include other .xcconfig files, you can add the include keyword to the top of your file. Any number of includes can be used in a pyconfig file. These files don't have to exist when generating the .xcconfig file, and will not raise errors in Xcode if the files don't exist (this is default behavior with all .xcconfig files). The include keyword should be at the start of the file, before any setting declaration but following the export declaration (if it exists).
Modern Syntax:
!include "Codesign.xcconfig"
Legacy Syntax:
include "Codesign.xcconfig"
As of Xcode 8b3, the xcconfig DSL supports a new type of include statement that marks the included file as optional. Typically when using #include, Xcode will raise a warning if the included file cannot be found on the file-system. To support this type of include statement uses the following syntax in pyconfig
?include "MyOptional.xcconfig"