summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-02-27 15:36:36 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-02-27 15:36:36 +0100
commit08644dc07eff017806819f1319601b5d542de69a (patch)
tree038e962b905abde3b5506d3d1aa04b78461a48d9
parent6c58090630b54df1b997af62dae0660ec620b835 (diff)
downloadk8055-08644dc07eff017806819f1319601b5d542de69a.zip
k8055-08644dc07eff017806819f1319601b5d542de69a.tar.gz
set compilation flags
-rw-r--r--CMakeLists.txt6
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
#