From 08644dc07eff017806819f1319601b5d542de69a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 27 Feb 2011 15:36:36 +0100 Subject: set compilation flags --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index df24e7e..d93c72f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,9 +20,9 @@ IF(WANT_DEBUG) ELSE() SET(CMAKE_BUILD_TYPE Release) ENDIF() -SET(CMAKE_CXX_FLAGS "-O2 -fno-implement-inlines") -SET(CMAKE_CXX_FLAGS_RELEASE "") -SET(CMAKE_CXX_FLAGS_DEBUG "-g ") +SET(CMAKE_C_FLAGS "-pedantic -std=gnu99") +SET(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG") +SET(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG") # # COLOR MESSAGES # -- cgit v1.1-2-g2b99