Commit 0b10c9ea by Vicent Martí

Merge pull request #276 from carlosmn/development

Bring back GCC flags
parents ce90d81f e233fa6f
......@@ -40,6 +40,10 @@ IF (MSVC)
# TODO: bring back /RTC1 /RTCc
SET(CMAKE_C_FLAGS_DEBUG "/Od /DEBUG /MTd")
SET(CMAKE_C_FLAGS_RELEASE "/MT /O2")
ELSE ()
SET(CMAKE_C_FLAGS "-Wall -Wextra -fPIC")
SET(CMAKE_C_FLAGS_DEBUG "-g -O0")
SET(CMAKE_C_FLAGS_RELEASE "-O2")
ENDIF()
# Build Debug by default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment