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

0001 include(ECMAddTests)
0002 
0003 find_package(Qt6Test ${REQUIRED_QT_VERSION} CONFIG QUIET)
0004 
0005 if(NOT TARGET Qt6::Test)
0006     message(STATUS "Qt6Test not found, autotests will not be built.")
0007     return()
0008 endif()
0009 
0010 ecm_add_tests(
0011     kencodingprobertest.cpp
0012     rfc2047test.cpp
0013     base45test.cpp
0014     codectest.cpp
0015     kemailaddresstest.cpp
0016     LINK_LIBRARIES KF6::Codecs Qt6::Test
0017 )
0018 
0019 ecm_add_test(
0020     kcharsetstest.cpp
0021     LINK_LIBRARIES KF6::Codecs Qt6::Test
0022 )
0023 
0024 # Benchmark, compiled, but not run automatically with ctest
0025 add_executable(base64benchmark base64benchmark.cpp)
0026 target_link_libraries(base64benchmark KF6::Codecs Qt6::Test)