Add DRAFT stubs for Vehicle plugin
[profile/ivi/wrt-plugins-tizen.git] / src / standards / Tizen / Contact / CMakeLists.txt
1 set(TARGET_NAME "wrt-plugins-tizen-1.0-contact")
2 set(DESTINATION_NAME "tizen-1.0-contact")
3 set(TARGET_IMPL_NAME "wrt-plugins-tizen-1.0-contact-impl")
4
5 include_directories(
6   ${INCLUDES_PLATFORM_IMPLEMENTATION_CONTACT}
7 )
8
9 set(CMAKE_INSTALL_RPATH
10   ${CMAKE_INSTALL_RPATH}
11   ${CMAKE_INSTALL_PREFIX}/${DESTINATION_NAME}
12   ${CMAKE_INSTALL_PREFIX}/tizen-1.0-tizen
13 )
14
15 set(SRCS_IMPL
16   ${SRCS_PLATFORM_API_CONTACT}
17   ${SRCS_PLATFORM_IMPLEMENTATION_CONTACT}
18   AddressBookController.cpp
19   ContactAsyncCallbackManager.cpp
20   ContactListenerManager.cpp
21   ContactConverter.cpp
22   ContactManagerController.cpp
23   JSContact.cpp
24   JSContactArray.cpp
25   JSAddressBook.cpp
26   JSAddressBookChangeCallbackManager.cpp
27   JSAddressBookArray.cpp
28   JSContactRef.cpp
29   JSContactName.cpp
30   JSContactAccount.cpp
31   JSContactAnniversary.cpp
32   JSContactAnniversaryArray.cpp
33   #JSAttributesOfInterestArray.cpp
34   JSContactAddress.cpp
35   JSContactAddressArray.cpp
36   JSContactAddressTypeArray.cpp
37   JSContactManager.cpp
38   JSContactPhoneNumber.cpp
39   JSContactPhoneNumberArray.cpp
40   JSContactPhoneNumberTypeArray.cpp
41   JSContactEmailAddress.cpp
42   JSContactEmailAddressArray.cpp
43   JSContactEmailAddressTypeArray.cpp
44   JSContactOrganization.cpp
45   JSContactOrganizationArray.cpp
46   JSStringArray.cpp
47   JSContactWebSite.cpp
48   JSContactWebSiteArray.cpp
49   plugin_config.cpp
50 )
51
52 add_library(${TARGET_IMPL_NAME} SHARED ${SRCS_IMPL})
53 target_link_libraries(${TARGET_IMPL_NAME}
54   wrt-plugins-tizen-1.0-tizen-impl
55   ${LIBS_PLATFORM_IMPLEMENTATION_CONTACT}
56   ${LIBS_COMMON}
57 )
58
59 set(SRCS
60   plugin_initializer.cpp
61 )
62
63 add_library(${TARGET_NAME} SHARED ${SRCS})
64 target_link_libraries(${TARGET_NAME}
65   ${TARGET_IMPL_NAME}
66 )
67
68 INSTALL(TARGETS ${TARGET_NAME} ${TARGET_IMPL_NAME} LIBRARY DESTINATION ${DESTINATION_NAME})
69 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION ${DESTINATION_NAME})