summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-08-22 16:42:30 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-22 19:14:51 +0200
commite1a6795a73af844ff63d99b35fb4695177d9494d (patch)
tree0d00d241324207aa3ee3e504066eb26cab4c20b3 /cmake
parente6bcbdd5d3c3665df86b1ae30a0d726982fd37ef (diff)
downloadqtlocation-mapboxgl-e1a6795a73af844ff63d99b35fb4695177d9494d.tar.gz
[build] add CMake source groups to all targets
Diffstat (limited to 'cmake')
-rw-r--r--cmake/glfw.cmake2
-rw-r--r--cmake/node.cmake2
-rw-r--r--cmake/offline.cmake2
-rw-r--r--cmake/render.cmake2
-rw-r--r--cmake/test.cmake2
5 files changed, 10 insertions, 0 deletions
diff --git a/cmake/glfw.cmake b/cmake/glfw.cmake
index c356feea5a..56a1335e08 100644
--- a/cmake/glfw.cmake
+++ b/cmake/glfw.cmake
@@ -32,3 +32,5 @@ add_custom_command(
target_add_mason_package(mbgl-glfw PRIVATE glfw)
mbgl_platform_glfw()
+
+create_source_groups(mbgl-glfw)
diff --git a/cmake/node.cmake b/cmake/node.cmake
index 034216b617..75def7c468 100644
--- a/cmake/node.cmake
+++ b/cmake/node.cmake
@@ -42,3 +42,5 @@ add_custom_command(
)
mbgl_platform_node()
+
+create_source_groups(mbgl-node)
diff --git a/cmake/offline.cmake b/cmake/offline.cmake
index c2959e7492..1dc67f7887 100644
--- a/cmake/offline.cmake
+++ b/cmake/offline.cmake
@@ -19,3 +19,5 @@ target_add_mason_package(mbgl-offline PRIVATE boost)
target_add_mason_package(mbgl-offline PRIVATE boost_libprogram_options)
mbgl_platform_offline()
+
+create_source_groups(mbgl-offline)
diff --git a/cmake/render.cmake b/cmake/render.cmake
index 3cf79cc0cc..f1b09b3c47 100644
--- a/cmake/render.cmake
+++ b/cmake/render.cmake
@@ -19,3 +19,5 @@ target_add_mason_package(mbgl-render PRIVATE boost)
target_add_mason_package(mbgl-render PRIVATE boost_libprogram_options)
mbgl_platform_render()
+
+create_source_groups(mbgl-render)
diff --git a/cmake/test.cmake b/cmake/test.cmake
index 29975662ce..2a83a633c0 100644
--- a/cmake/test.cmake
+++ b/cmake/test.cmake
@@ -31,3 +31,5 @@ target_add_mason_package(mbgl-test PRIVATE geojson)
target_add_mason_package(mbgl-test PRIVATE geojsonvt)
mbgl_platform_test()
+
+create_source_groups(mbgl-test)