Warning, /pim/akonadi/autotests/private/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}) 0002 0003 macro(add_unit_test _source) 0004 set(_test ${_source}) 0005 get_filename_component(_name ${_source} NAME_WE) 0006 ecm_add_test(TEST_NAME ${_name} NAME_PREFIX "AkonadiPrivate-" ${_source}) 0007 if (ENABLE_ASAN) 0008 set_tests_properties(AkonadiPrivate-${_name} PROPERTIES 0009 ENVIRONMENT ASAN_OPTIONS=symbolize=1 0010 ) 0011 endif() 0012 target_link_libraries(${_name} 0013 akonadi_shared 0014 KPim6::AkonadiPrivate 0015 Qt::Network 0016 Qt::Widgets 0017 Qt::Test 0018 ${CMAKE_EXE_LINKER_FLAGS_ASAN} 0019 ) 0020 endmacro() 0021 0022 add_unit_test(akstandarddirstest.cpp) 0023 add_unit_test(akdbustest.cpp) 0024 add_unit_test(notificationmessagetest.cpp notificationmessagetest.h) 0025 add_unit_test(externalpartstoragetest.cpp) 0026 add_unit_test(protocoltest.cpp protocoltest.h) 0027 add_unit_test(imapparsertest.cpp imapparsertest.h) 0028 add_unit_test(imapsettest.cpp imapsettest.h) 0029 add_unit_test(compressionstreamtest.cpp)