Warning, /frameworks/kcompletion/autotests/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 find_package(Qt${QT_MAJOR_VERSION}Test ${REQUIRED_QT_VERSION} CONFIG QUIET) 0005 0006 if(NOT Qt${QT_MAJOR_VERSION}Test_FOUND) 0007 message(STATUS "Qt${QT_MAJOR_VERSION}Test not found, autotests will not be built.") 0008 return() 0009 endif() 0010 0011 include(ECMAddTests) 0012 0013 ecm_add_tests( 0014 kcompletioncoretest.cpp 0015 klineedit_unittest.cpp 0016 kcombobox_unittest.cpp 0017 ksortablelisttest.cpp 0018 LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KF5::Completion 0019 )