Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
1 | find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test) | 1 | find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | include(ECMAddTests) | 3 | include(ECMAddTests) | ||
4 | 4 | | |||
5 | ecm_add_tests( | 5 | ecm_add_tests( | ||
6 | runnercontexttest.cpp | 6 | runnercontexttest.cpp | ||
7 | LINK_LIBRARIES Qt5::Test KF5::KIOCore KF5Runner | 7 | LINK_LIBRARIES Qt5::Test KF5::KIOCore KF5Runner | ||
8 | ) | 8 | ) | ||
9 | 9 | | |||
10 | ecm_add_tests( | 10 | ecm_add_tests( | ||
11 | dbusrunnertest.cpp | 11 | dbusrunnertest.cpp | ||
12 | LINK_LIBRARIES Qt5::Test KF5::KIOCore KF5Runner Qt5::Widgets | 12 | LINK_LIBRARIES Qt5::Test KF5::KIOCore KF5Runner Qt5::Widgets | ||
13 | ) | 13 | ) | ||
14 | 14 | | |||
15 | set(demoapp_SRCS testremoterunner.cpp) | 15 | set(demoapp_SRCS testremoterunner.cpp) | ||
16 | qt5_add_dbus_adaptor(demoapp_SRCS "../src/data/org.kde.krunner1.xml" testremoterunner.h TestRemoteRunner) | | |||
17 | add_executable(testremoterunner ${demoapp_SRCS}) | 16 | add_executable(testremoterunner ${demoapp_SRCS}) | ||
18 | target_link_libraries(testremoterunner | 17 | target_link_libraries(testremoterunner | ||
19 | Qt5::DBus | 18 | KF5::DBusRunner | ||
20 | KF5::Runner | | |||
21 | ) | 19 | ) |