kdeconnect-kde/daemon/CMakeLists.txt

61 lines
1.6 KiB
CMake
Raw Normal View History

set(kded_kdeconnect_SRCS
2013-06-19 12:29:24 +01:00
linkproviders/linkprovider.cpp
linkproviders/loopbacklinkprovider.cpp
linkproviders/avahitcplinkprovider.cpp
2013-06-19 12:29:24 +01:00
devicelinks/devicelink.cpp
2013-06-19 12:29:24 +01:00
devicelinks/echodevicelink.cpp
devicelinks/tcpdevicelink.cpp
2013-06-19 12:29:24 +01:00
packageinterfaces/packageinterface.cpp
packageinterfaces/pingpackageinterface.cpp
packageinterfaces/notificationpackageinterface.cpp
packageinterfaces/pausemusicpackageinterface.cpp
packageinterfaces/clipboardpackageinterface.cpp
2013-06-19 12:29:24 +01:00
2013-06-17 11:23:08 +01:00
networkpackage.cpp
daemon.cpp
2013-06-25 17:08:34 +01:00
device.cpp
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
)
add_custom_target(
org.kde.kdeconnect.xml
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.xml
)
add_custom_target(
org.kde.kdeconnect.device.xml
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.device.xml
)
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)