Initial commit
[drdanz-telepathy-kde:libktelepathy-tests.git] / accept-dbustube / CMakeLists.txt
1 ### DBusTube Receiver
2
3 set(telepathy_test_accept_dbustube_SRCS
4     test-accept-dbustube.cpp
5 )
6
7 kde4_add_ui_files (telepathy_test_accept_dbustube_SRCS
8                    test-accept-dbustube.ui
9 )
10
11 qt4_add_dbus_interface (telepathy_test_accept_dbustube_SRCS
12                         org.freedesktop.Telepathy.Qt4.Example.xml
13                         exampleinterface)
14
15 kde4_add_executable (telepathy_test_accept_dbustube
16                      ${telepathy_test_accept_dbustube_SRCS}
17 )
18
19 target_link_libraries (telepathy_test_accept_dbustube
20                        ${KTELEPATHY_LIBRARIES}
21 )
22
23 configure_file(org.freedesktop.Telepathy.Client.telepathy_test_accept_dbustube.service.in
24                ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.telepathy_test_accept_dbustube.service)
25 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.telepathy_test_accept_dbustube.service
26         DESTINATION ${DBUS_SERVICES_INSTALL_DIR})
27
28 install(FILES telepathy_test_accept_dbustube.client DESTINATION ${SHARE_INSTALL_PREFIX}/telepathy/clients/)
29 install(TARGETS telepathy_test_accept_dbustube ${INSTALL_TARGETS_DEFAULT_ARGS})