diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-27 15:36:36 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-27 15:36:36 +0100 |
commit | 08644dc07eff017806819f1319601b5d542de69a (patch) | |
tree | 038e962b905abde3b5506d3d1aa04b78461a48d9 | |
parent | 6c58090630b54df1b997af62dae0660ec620b835 (diff) | |
download | k8055-08644dc07eff017806819f1319601b5d542de69a.zip k8055-08644dc07eff017806819f1319601b5d542de69a.tar.gz |
set compilation flags
-rw-r--r-- | CMakeLists.txt | 6 |
1 files 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 # |