kdeconnect-kde/daemon/CMakeLists.txt

52 lines
1.4 KiB
CMake
Raw Normal View History

set(kded_kdeconnect_SRCS
2013-06-19 12:29:24 +01:00
announcers/announcer.cpp
announcers/fakeannouncer.cpp
announcers/avahiannouncer.cpp
devicelinks/echodevicelink.cpp
devicelinks/udpdevicelink.cpp
devicelinks/devicelink.cpp
packagereceivers/packagereceiver.cpp
packagereceivers/pausemusicpackagereceiver.cpp
packagereceivers/notificationpackagereceiver.cpp
2013-06-17 11:23:08 +01:00
networkpackage.cpp
daemon.cpp
2013-06-25 17:08:34 +01:00
device.cpp
2013-06-25 17:43:54 +01:00
${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.xml
${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.device.xml
2013-06-06 04:57:06 +01:00
)
kde4_add_plugin(kded_kdeconnect ${kded_kdeconnect_SRCS})
2013-06-06 04:57:06 +01:00
target_link_libraries(kded_kdeconnect
2013-06-06 04:57:06 +01:00
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
2013-06-17 11:23:08 +01:00
kdnssd
qjson
2013-06-06 04:57:06 +01:00
${QT_QTNETWORK_LIBRARY}
2013-06-19 15:15:25 +01:00
${QJSON_LIBRARIES}
${QJSON_LIBRARY}
2013-06-06 04:57:06 +01:00
)
2013-06-25 17:08:34 +01:00
qt4_generate_dbus_interface(
daemon.h
org.kde.kdeconnect.xml
OPTIONS -a
)
qt4_generate_dbus_interface(
device.h
org.kde.kdeconnect.device.xml
OPTIONS -a
)
2013-06-25 17:08:34 +01:00
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.device.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR})
install(TARGETS kded_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded)
install(FILES kdeconnect.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kdeconnect)