Warning, /frameworks/kxmlgui/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 include(ECMMarkAsTest)
0003 
0004 find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test)
0005 
0006 macro(xmlgui_executable_tests)
0007   foreach(_testname ${ARGN})
0008     add_executable(${_testname} ${_testname}.cpp)
0009     target_link_libraries(${_testname} Qt${QT_MAJOR_VERSION}::Test KF5::CoreAddons KF5::WidgetsAddons KF5::I18n KF5::XmlGui)
0010     ecm_mark_as_test(${_testname})
0011   endforeach(_testname)
0012 endmacro()
0013 
0014 xmlgui_executable_tests(
0015   kbugreporttest
0016   kmainwindowrestoretest
0017   kmainwindowtest
0018   krulertest
0019   ktoolbartest
0020   kxmlguitest
0021   kxmlguiwindowtest
0022   kwindowtest
0023 )
0024 
0025 # KTextWidgets dependency is only needed for this test
0026 find_package(KF5TextWidgets QUIET)
0027 if(TARGET KF5::TextWidgets)
0028     add_subdirectory(krichtexteditor)
0029 endif()