[ios, macos] Optionally include a developer xcconfig file in generated config.xcconfig file. (#14766)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -23,6 +23,7 @@ xcuserdata
|
||||
/node_modules
|
||||
/platform/ios/benchmark/assets/glyphs/DIN*
|
||||
/platform/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6
|
||||
/platform/darwin/developer.xcconfig
|
||||
**/token
|
||||
/platform/macos/macos.xcworkspace/xcshareddata/macos.xcscmblueprint
|
||||
/platform/ios/ios.xcworkspace/xcshareddata/ios.xcscmblueprint
|
||||
|
||||
@@ -140,6 +140,10 @@ To add an example code listing to the documentation for a class or class member:
|
||||
|
||||
[SourceKitten](https://github.com/jpsim/SourceKitten/) is required and will be installed automatically using Homebrew.
|
||||
|
||||
### Customizing compilation settings
|
||||
|
||||
You can provide an optional and custom [`xcconfig`](https://help.apple.com/xcode/mac/current/#/dev745c5c974) file named `platform/darwin/developer.xcconfig` to set custom build options. This file is ignored by git. These custom settings apply to all configurations (`Debug`, `Release`, `RelWithDebInfo`), but do **not** apply to the core `mbgl` files. This mechanism allows you to try different compiler settings (for example when testing an Xcode beta).
|
||||
|
||||
## Testing
|
||||
|
||||
`make ios-test` builds and runs unit tests of cross-platform code as well as the SDK.
|
||||
|
||||
@@ -114,6 +114,10 @@ make darwin-update-examples
|
||||
|
||||
[SourceKitten](https://github.com/jpsim/SourceKitten/) is required and will be installed automatically using Homebrew.
|
||||
|
||||
### Customizing compilation settings
|
||||
|
||||
You can provide an optional and custom [`xcconfig`](https://help.apple.com/xcode/mac/current/#/dev745c5c974) file named `platform/darwin/developer.xcconfig` to set custom build options. This file is ignored by git. These custom settings apply to all configurations (`Debug`, `Release`), but do **not** apply to the core `mbgl` files. This mechanism allows you to try different compiler settings (for example when testing an Xcode beta).
|
||||
|
||||
## Testing
|
||||
|
||||
`make macos-test` builds and runs unit tests of cross-platform code as well as the SDK.
|
||||
|
||||
@@ -7,3 +7,5 @@ mbgl_core_LINK_LIBRARIES = "$<TARGET_PROPERTY:mbgl-core,XCODE_ATTRIBUTE_XCCONFIG
|
||||
// mbgl-filesource
|
||||
mbgl_filesource_INCLUDE_DIRECTORIES = "$<JOIN:$<TARGET_PROPERTY:mbgl-filesource,INTERFACE_INCLUDE_DIRECTORIES>," ">"
|
||||
mbgl_filesource_LINK_LIBRARIES = "$<TARGET_PROPERTY:mbgl-filesource,XCODE_ATTRIBUTE_XCCONFIG_LINK_LIBRARIES>"
|
||||
|
||||
#include? "../../platform/darwin/developer.xcconfig"
|
||||
Reference in New Issue
Block a user