ebeb18d1937ba093e3f1e4947789a19c07da2e6f
[profile/ivi/wrt-plugins-tizen.git] / src / standards / Tizen / Account / CMakeLists.txt
1 set(TARGET_NAME "wrt-plugins-tizen-1.0-account")
2 set(DESTINATION_NAME  "tizen-1.0-account")
3 set(SRCS
4   ${SRCS_PLATFORM_API_ACCOUNT}
5   ${SRCS_PLATFORM_API_FILTER}
6   ${SRCS_PLATFORM_IMPLEMENTATION_ACCOUNT}
7   ResponseDispatcher.cpp
8   AccountConverter.cpp
9   JSAccount.cpp
10   JSAccountService.cpp
11   JSAccountManager.cpp
12   JSFeatureArray.cpp
13   JSAccountServices.cpp
14   JSAccountServiceType.cpp
15   JSAccountServiceProvider.cpp
16   plugin_initializer.cpp
17   plugin_config.cpp
18   ../Tizen/FilterConverter.cpp
19   ../Common/JSTizenException.cpp
20   ../Common/TizenExceptionData.cpp
21   ../Common/JSTizenExceptionFactory.cpp
22 )
23
24 include_directories(
25   ${INCLUDES_PLATFORM_IMPLEMENTATION_ACCOUNT}
26 )
27
28 add_library(${TARGET_NAME} SHARED ${SRCS})
29 target_link_libraries(${TARGET_NAME}
30   wrt-plugins-tizen-1.0-tizen
31   ${LIBS_PLATFORM_IMPLEMENTATION_ACCOUNT}
32   ${LIBS_COMMON}
33 )
34
35 INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION ${DESTINATION_NAME})
36 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION ${DESTINATION_NAME})