Warning, /pim/akonadi/autotests/shared/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 "AkonadiShared-" ${_source}) 0007 if (ENABLE_ASAN) 0008 set_tests_properties(AkonadiShared-${_name} PROPERTIES 0009 ENVIRONMENT ASAN_OPTIONS=symbolize=1 0010 ) 0011 endif() 0012 target_link_libraries(${_name} 0013 akonadi_shared 0014 Qt::Test 0015 ${CMAKE_EXE_LINKER_FLAGS_ASAN} 0016 ) 0017 endmacro() 0018 0019 add_unit_test(akrangestest.cpp) 0020 add_unit_test(akscopeguardtest.cpp)