summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJeonghoon Park <jh1979.park@samsung.com>2017-10-09 14:02:58 +0900
committerJeonghoon Park <jh1979.park@samsung.com>2017-10-12 10:03:10 +0900
commit55211d5d295b2e5f58453f53c6a42a5f7484698f (patch)
treee850bc3022e773a4d28027bacae6527637f27a8a /CMakeLists.txt
parent8a237251f561962d685b3148d8853cf7c7d3c7aa (diff)
downloadrcc-55211d5d295b2e5f58453f53c6a42a5f7484698f.tar.gz
rcc-55211d5d295b2e5f58453f53c6a42a5f7484698f.tar.bz2
rcc-55211d5d295b2e5f58453f53c6a42a5f7484698f.zip
add feature for adconvert and sound sensor
Change-Id: Ia78e258c41d53ad759330197f22bd83eaa91afca
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 041fa7c..a20c2c4 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,6 +21,7 @@ pkg_check_modules(APP_PKGS REQUIRED
libcurl
glib-2.0
json-glib-1.0
+ capi-system-info
)
ADD_DEFINITIONS(-DCBOR_FILE_IN_RES="${INSTALL_RESDIR}/${CBOR_FILE}")
@@ -56,6 +57,8 @@ ADD_EXECUTABLE(${PROJECT_NAME}
${PROJECT_ROOT_DIR}/src/resource/resource_sound_detection_sensor.c
${PROJECT_ROOT_DIR}/src/resource/resource_tilt_sensor.c
${PROJECT_ROOT_DIR}/src/resource/resource_gas_detection_sensor.c
+ ${PROJECT_ROOT_DIR}/src/resource/resource_sound_level_sensor.c
+ ${PROJECT_ROOT_DIR}/src/resource/resource_adc_mcp3008.c
)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} -lm)
@@ -66,7 +69,6 @@ Message("APP_LABEL : ${APP_LABEL}")
CONFIGURE_FILE(${PROJECT_ROOT_DIR}/tizen-manifest.xml.in ${ORG_PREFIX}.${PROJECT_NAME}.xml @ONLY)
# Install
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${INSTALL_EXEC_PREFIX})
-INSTALL(DIRECTORY DESTINATION ${INSTALL_OWNER_DATADIR})
INSTALL(FILES ${ORG_PREFIX}.${PROJECT_NAME}.xml DESTINATION ${SYS_PACKAGES_DIR})
INSTALL(FILES ${PROJECT_ROOT_DIR}/shared/res/default_icon.png DESTINATION ${SYS_ICONS_DIR} RENAME ${PROJECT_NAME}.png)
INSTALL(FILES ${PROJECT_ROOT_DIR}/res/${CBOR_FILE} DESTINATION ${INSTALL_RESDIR})