summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-06-21 11:03:00 -0700
committerKonstantin Käfer <mail@kkaefer.com>2017-06-21 17:18:08 -0700
commit4bfc5592239d96d6d352ddbbb906dde0ea4012be (patch)
tree69b21df248c309a83cdc837558a571e95f830107 /cmake
parent6ec406b6affc423a366e74cfe0437a621bf11b81 (diff)
downloadqtlocation-mapboxgl-4bfc5592239d96d6d352ddbbb906dde0ea4012be.tar.gz
[core] add benchmark for vector tile parsing
Diffstat (limited to 'cmake')
-rw-r--r--cmake/benchmark-files.cmake1
-rw-r--r--cmake/benchmark.cmake1
-rw-r--r--cmake/core-files.cmake2
3 files changed, 4 insertions, 0 deletions
diff --git a/cmake/benchmark-files.cmake b/cmake/benchmark-files.cmake
index 0306340fe0..3736df11f6 100644
--- a/cmake/benchmark-files.cmake
+++ b/cmake/benchmark-files.cmake
@@ -9,6 +9,7 @@ set(MBGL_BENCHMARK_FILES
# parse
benchmark/parse/filter.benchmark.cpp
+ benchmark/parse/vector_tile.benchmark.cpp
# src
benchmark/src/main.cpp
diff --git a/cmake/benchmark.cmake b/cmake/benchmark.cmake
index c298d8ee28..174d0bc19c 100644
--- a/cmake/benchmark.cmake
+++ b/cmake/benchmark.cmake
@@ -19,6 +19,7 @@ target_link_libraries(mbgl-benchmark
target_add_mason_package(mbgl-benchmark PRIVATE benchmark)
target_add_mason_package(mbgl-benchmark PRIVATE rapidjson)
+target_add_mason_package(mbgl-benchmark PRIVATE protozero)
mbgl_platform_benchmark()
diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake
index cdbd5c8094..172b2854b3 100644
--- a/cmake/core-files.cmake
+++ b/cmake/core-files.cmake
@@ -513,6 +513,8 @@ set(MBGL_CORE_FILES
src/mbgl/tile/tile_observer.hpp
src/mbgl/tile/vector_tile.cpp
src/mbgl/tile/vector_tile.hpp
+ src/mbgl/tile/vector_tile_data.cpp
+ src/mbgl/tile/vector_tile_data.hpp
# util
include/mbgl/util/any.hpp