Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
Show All 24 Lines | 24 | ecm_add_tests( | |||
---|---|---|---|---|---|
25 | kcrashtest.cpp | 25 | kcrashtest.cpp | ||
26 | LINK_LIBRARIES Qt5::Core Qt5::Test | 26 | LINK_LIBRARIES Qt5::Core Qt5::Test | ||
27 | ) | 27 | ) | ||
28 | 28 | | |||
29 | add_executable(test_crasher test_crasher.cpp) | 29 | add_executable(test_crasher test_crasher.cpp) | ||
30 | target_link_libraries(test_crasher Qt5::Widgets KF5::Crash) | 30 | target_link_libraries(test_crasher Qt5::Widgets KF5::Crash) | ||
31 | ecm_mark_as_test(test_crasher) | 31 | ecm_mark_as_test(test_crasher) | ||
32 | ecm_mark_nongui_executable(test_crasher) | 32 | ecm_mark_nongui_executable(test_crasher) | ||
33 | | ||||
34 | add_dependencies(kcrashtest test_crasher) | ||||
33 | endif() | 35 | endif() | ||
34 | 36 | | |||
35 | ecm_add_tests( | 37 | ecm_add_tests( | ||
36 | coreconfigtest.cpp | 38 | coreconfigtest.cpp | ||
37 | LINK_LIBRARIES Qt5::Core Qt5::Test | 39 | LINK_LIBRARIES Qt5::Core Qt5::Test | ||
38 | ) | 40 | ) |