From bc3525fe490069ad6d44c1c1559ccb5d078190f0 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Thu, 14 Apr 2011 23:53:13 +0200 Subject: Add DEBUG.txt file with a little note on how to enable debugging. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 547e50d1..05c7bcff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ IF(CMAKE_COMPILER_IS_GNUCC) # Let's set sensible options. SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -Wall -Wno-unused-value") SET(CMAKE_C_FLAGS_RELEASE "-O2") - SET(CMAKE_C_FLAGS_DEBUG "-O1 -g") + SET(CMAKE_C_FLAGS_DEBUG "-O0 -g") ENDIF() # Add definitions. -- cgit v1.2.1