summaryrefslogtreecommitdiff
path: root/next/platform
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-12-02 16:20:50 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-12-09 16:09:16 +0200
commit71054c8b609f02403bf28e91c4c4ab14f1468e5d (patch)
tree9ecdcaf803bd4b5c621aab53da6f5d1af9744c8f /next/platform
parent6d425f8a7e7e4d210bd6e81d656245d0b1b80266 (diff)
downloadqtlocation-mapboxgl-71054c8b609f02403bf28e91c4c4ab14f1468e5d.tar.gz
[glfw] Add static render test creator
Press F1 to create a render test for the current view. The test will be created at the base folder (current if nothing is provided) + /NNNN (the next free entry).
Diffstat (limited to 'next/platform')
-rw-r--r--next/platform/glfw/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/next/platform/glfw/CMakeLists.txt b/next/platform/glfw/CMakeLists.txt
index e4c0920a44..b0263362a7 100644
--- a/next/platform/glfw/CMakeLists.txt
+++ b/next/platform/glfw/CMakeLists.txt
@@ -10,6 +10,7 @@ add_executable(
${MBGL_ROOT}/platform/glfw/glfw_gl_backend.cpp
${MBGL_ROOT}/platform/glfw/glfw_renderer_frontend.cpp
${MBGL_ROOT}/platform/glfw/settings_json.cpp
+ ${MBGL_ROOT}/platform/glfw/test_writer.cpp
)
target_include_directories(
@@ -30,6 +31,8 @@ target_link_libraries(
PRIVATE
${GLFW_LIBRARIES}
Mapbox::Base::Extras::args
+ Mapbox::Base::Extras::filesystem
+ Mapbox::Base::Extras::rapidjson
Mapbox::Map
OpenGL::GL
mbgl-vendor-cheap-ruler-cpp