summaryrefslogtreecommitdiff
path: root/cmake/benchmark.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/benchmark.cmake
parentadbce36fe6e1a9d95633776ff9fada67289733ae (diff)
downloadqtlocation-mapboxgl-fc48ca18018564e26f0498c4f59f77374c1cadbf.tar.gz
[build] use CMake to generate Xcode schemes
Diffstat (limited to 'cmake/benchmark.cmake')
-rw-r--r--cmake/benchmark.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/benchmark.cmake b/cmake/benchmark.cmake
index f4c59fa01e..1dfca27e6c 100644
--- a/cmake/benchmark.cmake
+++ b/cmake/benchmark.cmake
@@ -25,3 +25,10 @@ target_add_mason_package(mbgl-benchmark PRIVATE vector-tile)
mbgl_platform_benchmark()
create_source_groups(mbgl-benchmark)
+
+xcode_create_scheme(
+ TARGET mbgl-benchmark
+ OPTIONAL_ARGS
+ "--benchmark_filter=Category.*"
+ "--benchmark_repetitions=1"
+)