summaryrefslogtreecommitdiff
path: root/cmake/glfw.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/glfw.cmake
parentadbce36fe6e1a9d95633776ff9fada67289733ae (diff)
downloadqtlocation-mapboxgl-fc48ca18018564e26f0498c4f59f77374c1cadbf.tar.gz
[build] use CMake to generate Xcode schemes
Diffstat (limited to 'cmake/glfw.cmake')
-rw-r--r--cmake/glfw.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmake/glfw.cmake b/cmake/glfw.cmake
index 744477e39a..b176fbb5bc 100644
--- a/cmake/glfw.cmake
+++ b/cmake/glfw.cmake
@@ -43,3 +43,16 @@ target_add_mason_package(mbgl-glfw PRIVATE variant)
mbgl_platform_glfw()
create_source_groups(mbgl-glfw)
+
+xcode_create_scheme(
+ TARGET mbgl-glfw
+ OPTIONAL_ARGS
+ "--style=file.json"
+ "--lon=0"
+ "--lat=0"
+ "--zoom=1"
+ "--bearing=0"
+ "--pitch=0"
+ "--fullscreen"
+ "--benchmark"
+)