2013-08-21 17:28:11 +01:00
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${CMAKE_SOURCE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR})
|
2014-01-28 22:22:59 +00:00
|
|
|
|
2013-08-21 17:28:11 +01:00
|
|
|
set(kdeconnectdeclarativeplugin_SRC
|
|
|
|
kdeconnectdeclarativeplugin.cpp
|
2014-01-28 22:22:59 +00:00
|
|
|
responsewaiter.cpp
|
|
|
|
)
|
|
|
|
|
2018-11-08 01:01:51 +00:00
|
|
|
set(qml_SRC
|
|
|
|
qml/RemoteKeyboard.qml
|
|
|
|
qml/PluginChecker.qml
|
|
|
|
qml/DBusProperty.qml
|
|
|
|
)
|
|
|
|
|
2014-01-28 22:22:59 +00:00
|
|
|
set(kdeconnectdeclarativeplugin_MOC
|
|
|
|
objectfactory.h
|
2013-08-21 17:28:11 +01:00
|
|
|
)
|
2013-11-15 16:41:33 +00:00
|
|
|
|
2014-08-24 17:26:14 +01:00
|
|
|
qt5_wrap_cpp(kdeconnectdeclarativeplugin_SRC ${kdeconnectdeclarativeplugin_MOC})
|
2014-01-28 22:22:59 +00:00
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
add_library(kdeconnectdeclarativeplugin SHARED ${kdeconnectdeclarativeplugin_SRC})
|
2013-08-21 17:28:11 +01:00
|
|
|
target_link_libraries(kdeconnectdeclarativeplugin
|
2014-06-16 19:02:07 +01:00
|
|
|
Qt5::Qml
|
2014-06-14 15:50:54 +01:00
|
|
|
kdeconnectinterfaces
|
2019-02-06 16:27:17 +00:00
|
|
|
kdeconnectcore
|
2013-08-21 17:28:11 +01:00
|
|
|
)
|
2014-06-18 01:35:48 +01:00
|
|
|
install(TARGETS kdeconnectdeclarativeplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
|
2018-11-08 01:01:51 +00:00
|
|
|
install(FILES qmldir ${qml_SRC} DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
|