Warning, /frameworks/kitemviews/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 remove_definitions(-DQT_NO_CAST_FROM_ASCII) 0002 remove_definitions(-DQT_NO_CAST_TO_ASCII) 0003 0004 include(ECMMarkAsTest) 0005 0006 find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test) 0007 0008 macro(kitemviews_executable_tests) 0009 foreach(_testname ${ARGN}) 0010 add_executable(${_testname} ${_testname}.cpp) 0011 target_link_libraries(${_testname} Qt6::Test KF6::ItemViews) 0012 ecm_mark_as_test(${_testname}) 0013 endforeach(_testname) 0014 endmacro() 0015 0016 kitemviews_executable_tests( 0017 kcategorizedviewtest 0018 kwidgetitemdelegatetest 0019 ktreewidgetsearchlinetest 0020 )