From 8d769a50436b17293d42a24dbaab8d0e2a5429f8 Mon Sep 17 00:00:00 2001 From: "pr.jung" Date: Fri, 19 May 2017 16:08:25 +0900 Subject: [PATCH] Add standard.c for wearable profile Change-Id: I37ac930a95e77b3350fdfd75d4aedb3a7ffe09c8 Signed-off-by: pr.jung --- CMakeLists.txt | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) 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) -- 2.7.4