Browse Source

* changed default build type type

master
Alex 'AdUser' Z 13 years ago
parent
commit
ddecbbc384
  1. 5
      CMakeLists.txt

5
CMakeLists.txt

@ -9,10 +9,9 @@ INCLUDE(CheckIncludeFile)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
IF (NOT CMAKE_BUILD_TYPE)
SET (CMAKE_BUILD_TYPE Debug)
IF (CMAKE_BUILD_TYPE EQUAL "Debug")
SET (CMAKE_C_FLAGS "-ggdb -O0 -Wall -pedantic -DDEBUG -std=c99")
ENDIF (NOT CMAKE_BUILD_TYPE)
ENDIF (CMAKE_BUILD_TYPE EQUAL "Debug")
# set paths
SET(CMAKE_INSTALL_PREFIX "/usr")

Loading…
Cancel
Save