Warning, /frameworks/kjobwidgets/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 include(ECMMarkAsTest) 0003 0004 find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test) 0005 0006 macro(kjobwidgets_executable_tests) 0007 foreach(_testname ${ARGN}) 0008 add_executable(${_testname} ${_testname}.cpp) 0009 target_link_libraries(${_testname} Qt6::Test KF6::JobWidgets KF6::WidgetsAddons) 0010 ecm_mark_as_test(${_testname}) 0011 endforeach(_testname) 0012 endmacro() 0013 0014 kjobwidgets_executable_tests( 0015 kjobtrackerstest 0016 ) 0017 0018 set(kjobcreator_SRCS kjobcreator.cpp) 0019 qt_wrap_ui(kjobcreator_SRCS kjobcreator.ui) 0020 add_executable(kjobcreator ${kjobcreator_SRCS}) 0021 target_link_libraries(kjobcreator Qt6::Widgets KF6::JobWidgets) 0022 ecm_mark_as_test(kjobcreator)