1 set(TARGET_NAME "wrt-plugins-tizen-1.0-application")
2 set(DESTINATION_NAME "tizen-1.0-application")
3 set(TARGET_IMPL_NAME "wrt-plugins-tizen-1.0-application-impl")
5 include_directories(${INCLUDES_PLATFORM_IMPLEMENTATION_APPLICATION})
7 set(CMAKE_INSTALL_RPATH
9 ${CMAKE_INSTALL_PREFIX}/${DESTINATION_NAME}
13 ${SRCS_PLATFORM_API_APPLICATION}
14 ${SRCS_PLATFORM_IMPLEMENTATION_APPLICATION}
16 ApplicationAnswerReceiver.cpp
17 ApplicationListener.cpp
18 ApplicationConverter.cpp
21 JSApplicationInformation.cpp
22 JSApplicationContext.cpp
23 JSApplicationService.cpp
24 JSApplicationServiceData.cpp
25 JSApplicationInstallInfo.cpp
26 LaunchServicePrivateData.cpp
27 ApplicationAsyncCallbackManager.cpp
28 ApplicationListenerManager.cpp
31 add_library(${TARGET_IMPL_NAME} SHARED ${SRCS_IMPL})
33 target_link_libraries(${TARGET_IMPL_NAME}
35 ${LIBS_PLATFORM_IMPLEMENTATION_APPLICATION}
39 plugin_initializer.cpp
42 add_library(${TARGET_NAME} SHARED ${SRCS})
43 target_link_libraries(${TARGET_NAME}
47 INSTALL(TARGETS ${TARGET_NAME} ${TARGET_IMPL_NAME} LIBRARY DESTINATION ${DESTINATION_NAME})
48 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION ${DESTINATION_NAME})