Warning, /pim/akonadi-mime/autotests/messagetests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: none 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 include(ECMMarkAsTest) 0004 0005 macro(ADD_AKONADIMIME_TEST) 0006 foreach(_testName ${ARGN}) 0007 add_executable(${_testName} ${_testName}.cpp) 0008 add_test(NAME akonadimime-${_testName} COMMAND ${_testName}) 0009 target_link_libraries(${_testName} 0010 KPim6::Mime 0011 Qt::Test 0012 KPim6::AkonadiCore 0013 KPim6::AkonadiMime 0014 ) 0015 set_target_properties(${_testName} PROPERTIES COMPILE_FLAGS -DTEST_DATA_DIR="\\"${CMAKE_CURRENT_SOURCE_DIR}/\\"" ) 0016 ecm_mark_as_test(${_testName}) 0017 endforeach() 0018 endmacro() 0019 0020 add_akonadimime_test( 0021 messagetest 0022 )