diff CMakeLists.txt @ 58:ad61489ce593

Set -g for debug builds
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 18 Mar 2014 10:03:34 +0000
parents 00aa5fa3c2fb
children 7ed285380301
line wrap: on
line diff
--- a/CMakeLists.txt	Tue Mar 18 10:03:03 2014 +0000
+++ b/CMakeLists.txt	Tue Mar 18 10:03:34 2014 +0000
@@ -24,6 +24,8 @@
 # Default to debug build
    if (NOT CMAKE_BUILD_TYPE)
      set (CMAKE_BUILD_TYPE Debug)
+     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
+     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
    endif (NOT CMAKE_BUILD_TYPE)
 endif()
 

http://wald.intevation.org/projects/trustbridge/