X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=CMakeLists.txt;h=fdb5f180309ec28948537a131656fd041318d732;hb=f28e225459f7b1e756f31563431674c949767bc7;hp=5a23ce2d44037dd5837f99e342cc99e08f564d62;hpb=9d4c1d751638c7d071e6ef65b9c5c519214a8d37;p=framework%2Fweb%2Fwrt-installer.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a23ce2..fdb5f18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,8 @@ SET(CMAKE_CXX_FLAGS_CCOV "-O0 -std=c++0x -g --coverage") OPTION(DPL_LOG "DPL logs status" ON) OPTION(WITH_TESTS "Build tests" OFF) +OPTION(MULTIPROCESS_SERVICE_SUPPORT "Process per service" OFF) +OPTION(MULTIPROCESS_SERVICE_SUPPORT_INLINE "Process per service - inline mode support" OFF) IF(DPL_LOG AND NOT CMAKE_BUILD_TYPE MATCHES "profiling") MESSAGE(STATUS "Logging enabled for DPL") ADD_DEFINITIONS("-DDPL_LOGS_ENABLED") @@ -61,6 +63,12 @@ ELSE(DPL_LOG AND NOT CMAKE_BUILD_TYPE MATCHES "profiling") MESSAGE(STATUS "Logging disabled for DPL") ENDIF(DPL_LOG AND NOT CMAKE_BUILD_TYPE MATCHES "profiling") MESSAGE(STATUS "WITH_TESTS: " ${WITH_TESTS}) +IF(MULTIPROCESS_SERVICE_SUPPORT) + ADD_DEFINITIONS("-DMULTIPROCESS_SERVICE_SUPPORT") + IF (MULTIPROCESS_SERVICE_SUPPORT_INLINE) + ADD_DEFINITIONS("-DMULTIPROCESS_SERVICE_SUPPORT_INLINE") + ENDIF(MULTIPROCESS_SERVICE_SUPPORT_INLINE) +ENDIF(MULTIPROCESS_SERVICE_SUPPORT) # If supported for the target machine, emit position-independent code,suitable # for dynamic linking and avoiding any limit on the size of the global offset