From 0d9639c386fa9205b505ea12fb230938ad85a5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 28 Feb 2011 00:50:58 +0100 Subject: add -O2 to DEBUG target compile flags --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d93c72f..451ffb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ ELSE() ENDIF() SET(CMAKE_C_FLAGS "-pedantic -std=gnu99") SET(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG") -SET(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG") +SET(CMAKE_C_FLAGS_DEBUG "-g -O2 -DDEBUG") # # COLOR MESSAGES # -- cgit v1.1-2-g2b99