cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
18 lines
469 B
CMake
18 lines
469 B
CMake
include(ECMMarkAsTest)
|
|
include(ECMMarkNonGuiExecutable)
|
|
|
|
find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test)
|
|
|
|
macro(ktextwidgets_executable_tests)
|
|
foreach(_testname ${ARGN})
|
|
add_executable(${_testname} ${_testname}.cpp)
|
|
target_link_libraries(${_testname} Qt6::Test KF6::TextWidgets)
|
|
ecm_mark_nongui_executable(${_testname})
|
|
ecm_mark_as_test(${_testname})
|
|
endforeach()
|
|
endmacro()
|
|
|
|
ktextwidgets_executable_tests(
|
|
ktextedittest
|
|
)
|