From: pr.jung Date: Fri, 19 May 2017 07:08:25 +0000 (+0900) Subject: Add standard.c for wearable profile X-Git-Tag: accepted/tizen/unified/20170519.200307^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d769a50436b17293d42a24dbaab8d0e2a5429f8;p=platform%2Fcore%2Fsystem%2Ffeedbackd.git Add standard.c for wearable profile Change-Id: I37ac930a95e77b3350fdfd75d4aedb3a7ffe09c8 Signed-off-by: pr.jung --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 02eba83..0f39f17 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,10 +7,6 @@ PROJECT(feedbackd C) ######################################################## SET(VERSION 0.1.0) -IF("${PROFILE}" STREQUAL "wearable") - SET(CIRCLE "on") -ENDIF() - SET(SRCS src/core/main.c src/core/edbus-handler.c @@ -22,15 +18,12 @@ SET(SRCS src/haptic/haptic.c src/haptic/external.c src/haptic/emulator.c + src/haptic/circle.c ) -IF(CIRCLE STREQUAL on) - SET(SRCS ${SRCS} src/haptic/circle.c src/haptic/standard-vibcore.c) +IF(STANDARD_MIX STREQUAL on) + SET(SRCS ${SRCS} src/haptic/standard-mix.c) ELSE() - IF(STANDARD_MIX STREQUAL on) - SET(SRCS ${SRCS} src/haptic/standard-mix.c) - ELSE() - SET(SRCS ${SRCS} src/haptic/standard.c src/haptic/standard-vibcore.c) - ENDIF() + SET(SRCS ${SRCS} src/haptic/standard.c src/haptic/standard-vibcore.c) ENDIF() INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/src)