summaryrefslogtreecommitdiff
path: root/cmake/offline.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-07-04 14:19:25 +0200
committerKonstantin Käfer <mail@kkaefer.com>2017-07-06 11:45:09 +0200
commitfc48ca18018564e26f0498c4f59f77374c1cadbf (patch)
tree66ee7f9a7ad3aea590094281cf936c1e0a6ccc76 /cmake/offline.cmake
parentadbce36fe6e1a9d95633776ff9fada67289733ae (diff)
downloadqtlocation-mapboxgl-fc48ca18018564e26f0498c4f59f77374c1cadbf.tar.gz
[build] use CMake to generate Xcode schemes
Diffstat (limited to 'cmake/offline.cmake')
-rw-r--r--cmake/offline.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/cmake/offline.cmake b/cmake/offline.cmake
index d0124e661f..1ec3f61e36 100644
--- a/cmake/offline.cmake
+++ b/cmake/offline.cmake
@@ -25,3 +25,18 @@ target_add_mason_package(mbgl-offline PRIVATE boost_libprogram_options)
mbgl_platform_offline()
create_source_groups(mbgl-offline)
+
+xcode_create_scheme(
+ TARGET mbgl-offline
+ OPTIONAL_ARGS
+ "--style=file.json"
+ "--north=37.2"
+ "--west=-122.8"
+ "--south=38.1"
+ "--east=-121.7"
+ "--minZoom=0.0"
+ "--maxZoom=15.0"
+ "--pixelRatio=1.0"
+ "--token="
+ "--output=offline.db"
+)