git-svn-id: svn://db.shs.com.ru/pip@802 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -10,8 +10,7 @@ include(PIPMacros.cmake)
|
||||
# Options
|
||||
option(ICU "Unicode support" ON)
|
||||
option(STD_IOSTREAM "Building with std iostream operators support" OFF)
|
||||
option(INTROSPECTION_CONTAINERS "Build with containers introspection" OFF)
|
||||
option(INTROSPECTION_THREADS "Build with threads introspection" OFF)
|
||||
option(INTROSPECTION "Build with introspection" OFF)
|
||||
option(LIB "System install" ON)
|
||||
option(STATIC_LIB OFF)
|
||||
option(DEBUG "Build with -g3" OFF)
|
||||
@@ -133,7 +132,7 @@ get_filename_component(C_COMPILER "${CMAKE_C_COMPILER}" NAME)
|
||||
# Sources
|
||||
|
||||
# Main lib
|
||||
set(PIP_FOLDERS "." "core" "containers" "thread" "system" "io_devices" "io_utils" "console" "math" "code" "geo" "resources" "opencl" "crypt")
|
||||
set(PIP_FOLDERS "." "core" "containers" "thread" "system" "io_devices" "io_utils" "console" "math" "code" "geo" "resources" "opencl" "crypt" "introspection")
|
||||
if(PIP_FREERTOS)
|
||||
#list(REMOVE_ITEM PIP_FOLDERS "console")
|
||||
#include_directories("${PIP_SRC_MAIN}/console")
|
||||
@@ -250,21 +249,13 @@ else()
|
||||
endif()
|
||||
|
||||
|
||||
# Check if PIP should be built with containers introspection
|
||||
if(INTROSPECTION_CONTAINERS)
|
||||
message(STATUS "Building PIP with containers introspection")
|
||||
add_definitions(-DPIP_INTROSPECTION_CONTAINERS)
|
||||
# Check if PIP should be built with introspection
|
||||
if(INTROSPECTION)
|
||||
message(STATUS "Building PIP with introspection")
|
||||
message(STATUS "Warning: Introspection reduces the performance!")
|
||||
add_definitions(-DPIP_INTROSPECTION)
|
||||
else()
|
||||
message(STATUS "Building PIP without containers introspection")
|
||||
endif()
|
||||
|
||||
|
||||
# Check if PIP should be built with threads introspection
|
||||
if(INTROSPECTION_THREADS)
|
||||
message(STATUS "Building PIP with threads introspection")
|
||||
add_definitions(-DPIP_INTROSPECTION_THREADS)
|
||||
else()
|
||||
message(STATUS "Building PIP without threads introspection")
|
||||
message(STATUS "Building PIP without introspection")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user