summaryrefslogtreecommitdiff
path: root/cmake/mbgl.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-07-17 15:42:06 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-07-17 18:36:17 +0200
commit93d37282d9d7f4050a7fc682de8abea01996f113 (patch)
tree8b36c1344d0edfca7f569bb7510790b2cec84a96 /cmake/mbgl.cmake
parent7d686dfcba448bb5dd54bf0dae25c5273ebe1362 (diff)
downloadqtlocation-mapboxgl-93d37282d9d7f4050a7fc682de8abea01996f113.tar.gz
[build] organize CMake targets in folders for IDEs
Diffstat (limited to 'cmake/mbgl.cmake')
-rw-r--r--cmake/mbgl.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake
index f67fbd3b4f..0809d911a9 100644
--- a/cmake/mbgl.cmake
+++ b/cmake/mbgl.cmake
@@ -80,6 +80,7 @@ if(WITH_NODEJS)
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
COMMENT "Updating submodules..."
)
+ set_target_properties(update-submodules PROPERTIES FOLDER "Misc")
# Run npm install for both directories, and add custom commands, and a target that depends on them.
_npm_install("${CMAKE_SOURCE_DIR}" mapbox-gl-native update-submodules)
@@ -88,6 +89,7 @@ if(WITH_NODEJS)
npm-install ALL
DEPENDS "${CMAKE_SOURCE_DIR}/node_modules/.mapbox-gl-js.stamp"
)
+ set_target_properties(npm-install PROPERTIES FOLDER "Misc")
endif()
# Generate source groups so the files are properly sorted in IDEs like Xcode.