1 SET(TARGET_NAME ${alarm_target})
2 SET(DESTINATION_NAME ${alarm_dest})
3 SET(TARGET_IMPL_NAME ${alarm_impl})
5 PKG_CHECK_MODULES(platform_pkgs_alarm REQUIRED capi-appfw-application)
8 ${platform_pkgs_alarm_INCLUDE_DIRS}
14 SET(CMAKE_INSTALL_RPATH
15 ${CMAKE_INSTALL_RPATH}
16 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${tizen_dest}
17 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${timeutil_dest}
18 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${application_dest}
19 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME}
31 ADD_LIBRARY(${TARGET_IMPL_NAME} SHARED ${SRCS_IMPL})
33 TARGET_LINK_LIBRARIES(${TARGET_IMPL_NAME}
35 ${platform_pkgs_alarm_LIBRARIES}
43 plugin_initializer.cpp
46 ADD_LIBRARY(${TARGET_NAME} SHARED ${SRCS})
48 TARGET_LINK_LIBRARIES(${TARGET_NAME}
50 "-Wl,--no-as-needed" ${application_config}
53 INSTALL(TARGETS ${TARGET_NAME} ${TARGET_IMPL_NAME} LIBRARY DESTINATION ${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME})
54 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION ${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME})
56 DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${DESTINATION_HEADER_PREFIX}/alarm
57 FILES_MATCHING PATTERN "*.h" PATTERN "CMakeFiles" EXCLUDE