Warning, /pim/akonadi-contacts/src/akonadi-contacts-core/autotests/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 include(ECMAddTests) 0005 0006 # convenience macro to add akonadi demo application 0007 macro(add_akonadi_contact_demo _source) 0008 set(_test ${_source}) 0009 get_filename_component( _name ${_source} NAME_WE ) 0010 add_executable( ${_name} ${_test} ${_name}.h) 0011 add_test(NAME ${_name} COMMAND ${_name} ) 0012 target_link_libraries(${_name} 0013 KPim6::AkonadiContactCore 0014 Qt::Test) 0015 ecm_mark_as_test(${_name}) 0016 endmacro() 0017 0018 ########### next target ############### 0019 0020 add_akonadi_contact_demo(contactmetadataattributetest.cpp) 0021 0022 ecm_add_test(grantleeprinttest.cpp 0023 LINK_LIBRARIES KPim6::AkonadiContactCore Qt::Test KF6::Contacts 0024 )