add Debug option
git-svn-id: svn://db.shs.com.ru/pip@158 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
project(pip)
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
||||
include(CheckFunctionExists)
|
||||
@@ -37,9 +36,12 @@ option(USB "USB support" OFF)
|
||||
option(STL "Building with STL containers" OFF)
|
||||
option(CRYPT "Crypt support" OFF)
|
||||
option(LIB "System install" ON)
|
||||
option(DEBUG "Build with -g3" OFF)
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
set(LIBS)
|
||||
|
||||
if (DEBUG)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
|
||||
endif ()
|
||||
|
||||
# Sources
|
||||
set(PIP_FOLDERS "." "core" "containers" "thread" "system" "io" "console" "math" "code" "geo")
|
||||
|
||||
Reference in New Issue
Block a user