kdeconnect-kde/declarativeplugin/CMakeLists.txt

25 lines
742 B
CMake
Raw Normal View History

include_directories(${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR})
2014-01-28 22:22:59 +00:00
set(kdeconnectdeclarativeplugin_SRC
kdeconnectdeclarativeplugin.cpp
2014-01-28 22:22:59 +00:00
responsewaiter.cpp
objectfactory.cpp
2014-01-28 22:22:59 +00:00
)
set(qml_SRC
qml/RemoteKeyboard.qml
qml/PluginChecker.qml
qml/DBusProperty.qml
)
add_library(kdeconnectdeclarativeplugin SHARED ${kdeconnectdeclarativeplugin_SRC})
target_link_libraries(kdeconnectdeclarativeplugin
Qt5::Qml
2014-06-14 15:50:54 +01:00
kdeconnectinterfaces
)
2014-06-18 01:35:48 +01:00
install(TARGETS kdeconnectdeclarativeplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
install(FILES qmldir ${qml_SRC} DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)