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(CheckLibraryExists)
INCLUDE(CheckFunctionExists) INCLUDE(CheckFunctionExists)
IF (NOT CMAKE_BUILD_TYPE) IF (CMAKE_BUILD_TYPE EQUAL "Debug")
SET (CMAKE_BUILD_TYPE Debug)
SET (CMAKE_C_FLAGS "-ggdb -O0 -Wall -pedantic -DDEBUG -std=c99") 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 paths
SET(CMAKE_INSTALL_PREFIX "/usr") SET(CMAKE_INSTALL_PREFIX "/usr")

Loading…
Cancel
Save