diff options
-rwxr-xr-x | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 083e941..6d99994 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,7 @@ option(DYN_INT_LIBS "Buils internal libs as dynamic" ON) option(COVERAGE_STATS "Code coverage" OFF) option(DUMMY_BUTTON "Build With Dummy Button" ON) option(PWA "Build with PWA" ON) +option(PWE_SHUB "Build for PWE_SHUB" ON) #Enable C++14 support include(CheckCXXCompilerFlag) @@ -137,6 +138,12 @@ if(TIZEN_BUILD) ADD_DEFINITIONS(-DPWA=1) endif() + if (${PWE_SHUB} MATCHES "ON") + ADD_DEFINITIONS(-DPWE_SHUB=1) + elseif(${PWE_SHUB} MATCHES "OFF") + ADD_DEFINITIONS(-DPWE_SHUB=0) + endif() + endif(TIZEN_BUILD) ADD_DEFINITIONS(-DEDJE_DIR=\"${EDJE_DIR}\") @@ -190,4 +197,5 @@ message(STATUS "Building Unit tests (BUILD_UT) :" ${BUILD_UT}) message(STATUS "Code Coverage statistics (COVERAGE_STATS) :" ${COVERAGE_STATS}) message(STATUS "Device profile (PROFILE) :" ${PROFILE}) message(STATUS "Building with Dummy Button (DUMMY_BUTTON) :" ${DUMMY_BUTTON}) +message(STATUS "Building for PWE Service Hub (PWE_SHUB) :" ${PWE_SHUB}) message(STATUS "------------------------------------------") |