Warning, /pim/akonadi/src/xml/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 find_package(Qt6 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Test)
0003 include(ECMMarkAsTest)
0004 
0005 macro(add_libakonadixml_test _source)
0006   set(_test ${_source})
0007   get_filename_component(_name ${_source} NAME_WE)
0008   ecm_add_test(TEST_NAME ${_name} NAME_PREFIX "akonadixml-" ${_test})
0009   set_tests_properties(akonadixml-${_name} PROPERTIES ENVIRONMENT "QT_HASH_SEED=0;QT_NO_CPU_FEATURE=sse4.2")
0010   set_target_properties(${_name} PROPERTIES COMPILE_FLAGS -DKDESRCDIR="\\"${CMAKE_CURRENT_SOURCE_DIR}/\\"")
0011   target_link_libraries(${_name} KPim6::AkonadiCore KPim6::AkonadiXml Qt::Test Qt::Xml)
0012 endmacro()
0013 
0014 add_libakonadixml_test(collectiontest.cpp collectiontest.h)
0015 add_libakonadixml_test(xmldocumenttest.cpp)