Add standard.c for wearable profile 17/130117/1 accepted/tizen/unified/20170519.200307 submit/tizen/20170519.080356 tizen_4.0.m1_release
authorpr.jung <pr.jung@samsung.com>
Fri, 19 May 2017 07:08:25 +0000 (16:08 +0900)
committerpr.jung <pr.jung@samsung.com>
Fri, 19 May 2017 07:08:25 +0000 (16:08 +0900)
Change-Id: I37ac930a95e77b3350fdfd75d4aedb3a7ffe09c8
Signed-off-by: pr.jung <pr.jung@samsung.com>
CMakeLists.txt

index 02eba83..0f39f17 100755 (executable)
@@ -7,10 +7,6 @@ PROJECT(feedbackd C)
 ########################################################
 SET(VERSION 0.1.0)
 
 ########################################################
 SET(VERSION 0.1.0)
 
-IF("${PROFILE}" STREQUAL "wearable")
-       SET(CIRCLE "on")
-ENDIF()
-
 SET(SRCS
        src/core/main.c
        src/core/edbus-handler.c
 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/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()
 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)
 ENDIF()
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/src)