Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
1 | include(ECMAddTests) | 1 | include(ECMAddTests) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | find_package(Qt5Test ${QT_REQUIRED_VERSION} CONFIG REQUIRED) | 3 | find_package(Qt5Test ${REQUIRED_QT_VERSION} CONFIG REQUIRED) | ||
4 | 4 | | |||
5 | ########### next target ############### | 5 | ########### next target ############### | ||
6 | 6 | | |||
7 | set(testroundtrip_srcs testroundtrip.cpp) | 7 | set(testroundtrip_srcs testroundtrip.cpp) | ||
8 | qt5_add_resources(testroundtrip_srcs testroundtrip.qrc) | 8 | qt5_add_resources(testroundtrip_srcs testroundtrip.qrc) | ||
9 | add_executable(testroundtrip ${testroundtrip_srcs}) | 9 | add_executable(testroundtrip ${testroundtrip_srcs}) | ||
10 | add_test(NAME kcontacts-testroundtrip COMMAND testroundtrip) | 10 | add_test(NAME kcontacts-testroundtrip COMMAND testroundtrip) | ||
11 | target_link_libraries(testroundtrip KF5Contacts Qt5::Test) | 11 | target_link_libraries(testroundtrip KF5Contacts Qt5::Test) | ||
Show All 35 Lines |