diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/DEVELOPING.md | 4 | ||||
-rw-r--r-- | platform/macos/DEVELOPING.md | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/platform/ios/DEVELOPING.md b/platform/ios/DEVELOPING.md index 5bf923b15b..d31ceccafa 100644 --- a/platform/ios/DEVELOPING.md +++ b/platform/ios/DEVELOPING.md @@ -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. diff --git a/platform/macos/DEVELOPING.md b/platform/macos/DEVELOPING.md index 8792a4b974..b9c914a976 100644 --- a/platform/macos/DEVELOPING.md +++ b/platform/macos/DEVELOPING.md @@ -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. |