Change-Id: I37ac930a95e77b3350fdfd75d4aedb3a7ffe09c8
Signed-off-by: pr.jung <pr.jung@samsung.com>
########################################################
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
src/haptic/haptic.c
src/haptic/external.c
src/haptic/emulator.c
src/haptic/haptic.c
src/haptic/external.c
src/haptic/emulator.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)
- 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)