make it debugable - use -DCMAKE_BUILD_TYPE=debug in the cmake call
authorStephan Kulow <coolo@suse.de>
Sun, 28 Oct 2007 19:06:04 +0000 (19:06 +0000)
committerStephan Kulow <coolo@suse.de>
Sun, 28 Oct 2007 19:06:04 +0000 (19:06 +0000)
CMakeLists.txt

index d777484..ef809a0 100644 (file)
@@ -99,6 +99,7 @@ FIND_PROGRAM(SWIG_EXECUTABLE
 )
 
 set ( CMAKE_C_FLAGS     "${CMAKE_C_FLAGS} -Werror" )
+set ( CMAKE_C_FLAGS_DEBUG     "-g3 -O0" )
 
 ADD_SUBDIRECTORY(src)
 ADD_SUBDIRECTORY(tools)