aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Karney <charles@karney.com>2015-03-03 22:17:02 +0000
committerCharles Karney <charles@karney.com>2015-03-03 22:17:02 +0000
commited9bcafef638ea449235a3e307b943e8a8fe1557 (patch)
tree864b49a99580bf298036213653fc9530396bbdd8 /src/CMakeLists.txt
parent135253886bce8579c6b1a93d93697df30e93065c (diff)
downloadPROJ-ed9bcafef638ea449235a3e307b943e8a8fe1557.tar.gz
PROJ-ed9bcafef638ea449235a3e307b943e8a8fe1557.zip
Append _d to debug versions of library and tools so that release and debug versions can be installed together
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2645 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7c84fabc..aba5b4c4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -37,3 +37,9 @@ endif(BUILD_GEOD)
if(BUILD_NAD2BIN)
include(bin_nad2bin.cmake)
endif(BUILD_NAD2BIN)
+
+if (MSVC OR CMAKE_CONFIGURATION_TYPES)
+ # Add _d suffix for your debug versions of the tools
+ set_target_properties (cs2cs binproj geod nad2bin PROPERTIES
+ DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
+endif ()