bb0a65024a13472fa7c212b74c0ed0dddcc44469
[profile/ivi/wrt-plugins-tizen.git] / src / standards / Tizen / Tizen / CMakeLists.txt
1 set(TARGET_NAME       "wrt-plugins-tizen-1.0-tizen")
2 set(DESTINATION_NAME  "tizen-1.0-tizen")
3
4 pkg_search_module(wrt-plugins-plugin-manager REQUIRED wrt-plugins-plugin-manager)
5
6 include_directories(
7     ${wrt-plugins-plugin-manager_INCLUDE_DIRS}
8 )
9
10 set(SRCS
11   JSTizen.cpp
12   JSFeature.cpp
13   JSFeatureParam.cpp
14   plugin_initializer.cpp
15   plugin_config.cpp
16   PluginOnDemandPriv.cpp
17 )
18
19 add_library(${TARGET_NAME} SHARED ${SRCS})
20
21 target_link_libraries(${TARGET_NAME}
22     ${LIBS_WIDGETDB}
23     ${LIBS_COMMON}
24     ${wrt-plugins-plugin-manager_LIBRARIES})
25
26 INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION ${DESTINATION_NAME})
27 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION ${DESTINATION_NAME})