diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-03-28 20:57:22 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-03-28 21:24:12 +0200 |
commit | a9896fa01b72f260940c3b5df4eec0c1b73dce26 (patch) | |
tree | d446118ec178a61f5be73e4f1662866c80c0c141 /scripts/config.xcconfig.in | |
parent | c86b492bf7df62f8c09ec565b7ccfb4cd2bfcc79 (diff) | |
download | qtlocation-mapboxgl-a9896fa01b72f260940c3b5df4eec0c1b73dce26.tar.gz |
[build] generate .xcconfig files with configure_file
We previously used incremental `file(WRITE ...)` commands that gradually recreated the file on every CMake invocation. This sometimes lead to Xcode parsing a partially written file, which in turn breaks building dependend targets. Instead, we're now using a templated configuration file, which ensure that the file is created in one go and hopefully reduces the race condition between CMake and Xcode's automatic project updating.
Diffstat (limited to 'scripts/config.xcconfig.in')
-rw-r--r-- | scripts/config.xcconfig.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/config.xcconfig.in b/scripts/config.xcconfig.in new file mode 100644 index 0000000000..eb6bc71b89 --- /dev/null +++ b/scripts/config.xcconfig.in @@ -0,0 +1,5 @@ +// Do not edit -- generated by CMake + +// mbgl-core +mbgl_core_INCLUDE_DIRECTORIES = "@mbgl_core_INCLUDE_DIRECTORIES@" +mbgl_core_LINK_LIBRARIES = "@mbgl_core_LINK_LIBRARIES@" |