diff options
author | Julian Rex <julian.rex@mapbox.com> | 2019-06-14 14:28:12 -0400 |
---|---|---|
committer | Julian Rex <julian.rex@mapbox.com> | 2019-06-14 14:28:12 -0400 |
commit | 66e15647443bdbb9bef329813b15de979d4e786d (patch) | |
tree | 7ee89a5069aabbd6ab332d2167cd6d94554a6110 | |
parent | 525722b029f14f00f432b48ab19f3a88154f4f2b (diff) | |
download | qtlocation-mapboxgl-upstream/jrex/developer-xcconfig.tar.gz |
[ios, macos] Update DEVELOPING.md to mention custom xcconfig file.upstream/jrex/developer-xcconfig
-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. |