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_SEARCH_MODULE(app-manager REQUIRED capi-appfw-app-manager)
7 PKG_SEARCH_MODULE(application REQUIRED capi-appfw-application)
8 PKG_SEARCH_MODULE(package-manager REQUIRED capi-appfw-package-manager)
9 PKG_SEARCH_MODULE(pkgmgr REQUIRED pkgmgr)
10 PKG_SEARCH_MODULE(pkgmgr-info REQUIRED pkgmgr-info)
15 ${app-manager_INCLUDE_DIRS}
16 ${application_INCLUDE_DIRS}
17 ${package-manager_INCLUDE_DIRS}
18 ${pkgmgr_INCLUDE_DIRS}
19 ${pkgmgr-info_INCLUDE_DIRS}
22 SET(CMAKE_INSTALL_RPATH
23 ${CMAKE_INSTALL_RPATH}
24 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${tizen_dest}
25 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME}
29 ApplicationContext.cpp
30 ApplicationControl.cpp
31 ApplicationControlData.cpp
32 RequestedApplicationControl.cpp
33 ApplicationFactory.cpp
34 ApplicationInformation.cpp
36 IApplicationManager.cpp
37 ApplicationManager.cpp
40 ApplicationAsyncCallbackManager.cpp
41 ApplicationController.cpp
42 ApplicationConverter.cpp
43 ApplicationListenerManager.cpp
46 JSApplicationManager.cpp
47 JSApplicationContext.cpp
48 JSApplicationControl.cpp
49 JSApplicationControlData.cpp
50 JSRequestedApplicationControl.cpp
51 JSApplicationEventCallbackManager.cpp
52 JSApplicationInformation.cpp
56 ADD_LIBRARY(${TARGET_IMPL_NAME} SHARED ${SRCS_IMPL})
58 TARGET_LINK_LIBRARIES(${TARGET_IMPL_NAME}
60 ${app-manager_LIBRARIES}
61 ${application_LIBRARIES}
62 ${package-manager_LIBRARIES}
64 ${pkgmgr-info_LIBRARIES}
71 ADD_LIBRARY(${TARGET_CONFIG_NAME} SHARED ${SRCS_CONFIG})
73 TARGET_LINK_LIBRARIES(${TARGET_CONFIG_NAME}
78 plugin_initializer.cpp
81 ADD_LIBRARY(${TARGET_NAME} SHARED ${SRCS})
83 TARGET_LINK_LIBRARIES(${TARGET_NAME}
89 INSTALL(TARGETS ${TARGET_NAME} ${TARGET_CONFIG_NAME} ${TARGET_IMPL_NAME} LIBRARY DESTINATION ${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME})
90 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION ${DESTINATION_LIB_PREFIX}/${DESTINATION_NAME})
92 DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${DESTINATION_HEADER_PREFIX}/application
93 FILES_MATCHING PATTERN "*.h" PATTERN "CMakeFiles" EXCLUDE