summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjongchul park <jc0204.park@samsung.com>2017-05-10 09:16:35 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-05-10 09:16:36 +0000
commit3512a631751fa67104404f66d6cddfc5f8853fd3 (patch)
tree0f16933847d4d6516d8203ab20312188d0b9bc7a
parentebe2fde4132093d89a9e0ca226ef679147698911 (diff)
parent01e0bb9469bb7ad629a28d1cbdd924238d6c621e (diff)
downloadbrowser-3512a631751fa67104404f66d6cddfc5f8853fd3.tar.gz
browser-3512a631751fa67104404f66d6cddfc5f8853fd3.tar.bz2
browser-3512a631751fa67104404f66d6cddfc5f8853fd3.zip
Merge "[PWE] Adding macro PWE_SHUB for PWE part custom browser" into tizen
-rwxr-xr-xCMakeLists.txt8
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 "------------------------------------------")