From: Stephan Kulow Date: Sun, 28 Oct 2007 19:06:04 +0000 (+0000) Subject: make it debugable - use -DCMAKE_BUILD_TYPE=debug in the cmake call X-Git-Tag: BASE-SuSE-Code-12_1-Branch~308^2~871 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94f19b81e2f9596e6a695e969cd2315726dec059;p=thirdparty%2Flibsolv.git make it debugable - use -DCMAKE_BUILD_TYPE=debug in the cmake call --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d777484f..ef809a06 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)