From 94f19b81e2f9596e6a695e969cd2315726dec059 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 28 Oct 2007 19:06:04 +0000 Subject: [PATCH] make it debugable - use -DCMAKE_BUILD_TYPE=debug in the cmake call --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d777484..ef809a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- 2.7.4