[geos-commits] r4370 - trunk

Mateusz Loskot mateusz at loskot.net
Sun Mar 26 13:37:27 PDT 2017


Author: mloskot
Date: 2017-03-26 13:37:27 -0700 (Sun, 26 Mar 2017)
New Revision: 4370

Modified:
   trunk/CMakeLists.txt
Log:
Enable target debugging for CMake Tools in Visual Studio Code

CMake Tools at https://github.com/vector-of-bool/vscode-cmake-tools


Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2017-03-26 19:04:28 UTC (rev 4369)
+++ trunk/CMakeLists.txt	2017-03-26 20:37:27 UTC (rev 4370)
@@ -18,8 +18,8 @@
       "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}")
 endif()
 
-# Location of custom CMake modules with macros used by GEOS
-set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules")
+# Add custom GEOS modules for CMake
+list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules")
 
 #################################################################################
 # Setup GEOS version
@@ -355,6 +355,10 @@
 
 include(GenerateSourceGroups)
 
+# Enable target debugging for CMake Tools in Visual Studio Code
+# https://github.com/vector-of-bool/vscode-cmake-tools
+include(CMakeToolsHelpers OPTIONAL)
+
 #################################################################################
 # Configure subdirectories
 #################################################################################



More information about the geos-commits mailing list