1 SET(TARGET_NAME ${application_target})
2 SET(DESTINATION_NAME ${application_dest})
3 SET(TARGET_IMPL_NAME ${application_impl})
4 SET(TARGET_CONFIG_NAME ${application_config})
6 PKG_CHECK_MODULES(platform_pkgs_application REQUIRED
9 capi-appfw-package-manager
17 ${platform_pkgs_application_INCLUDE_DIRS}
20 SET(CMAKE_INSTALL_RPATH
21 ${CMAKE_INSTALL_RPATH}
22 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${tizen_dest}
23 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME}
27 ApplicationContext.cpp
28 ApplicationControl.cpp
29 ApplicationControlData.cpp
30 RequestedApplicationControl.cpp
31 ApplicationFactory.cpp
32 ApplicationInformation.cpp
34 IApplicationManager.cpp
35 ApplicationManager.cpp
38 ApplicationAsyncCallbackManager.cpp
39 ApplicationController.cpp
40 ApplicationConverter.cpp
41 ApplicationListenerManager.cpp
44 JSApplicationManager.cpp
45 JSApplicationContext.cpp
46 JSApplicationControl.cpp
47 JSApplicationControlData.cpp
48 JSRequestedApplicationControl.cpp
49 JSApplicationEventCallbackManager.cpp
50 JSApplicationInformation.cpp
54 ADD_LIBRARY(${TARGET_IMPL_NAME} SHARED ${SRCS_IMPL})
56 TARGET_LINK_LIBRARIES(${TARGET_IMPL_NAME}
59 ${platform_pkgs_application_LIBRARIES}
66 ADD_LIBRARY(${TARGET_CONFIG_NAME} SHARED ${SRCS_CONFIG})
68 TARGET_LINK_LIBRARIES(${TARGET_CONFIG_NAME}
73 plugin_initializer.cpp
76 ADD_LIBRARY(${TARGET_NAME} SHARED ${SRCS})
78 TARGET_LINK_LIBRARIES(${TARGET_NAME}
83 INSTALL(TARGETS ${TARGET_NAME} ${TARGET_CONFIG_NAME} ${TARGET_IMPL_NAME} LIBRARY DESTINATION ${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME})
84 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION ${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME})
86 DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${DESTINATION_HEADER_PREFIX}/application
87 FILES_MATCHING PATTERN "*.h" PATTERN "CMakeFiles" EXCLUDE