Warning, /pim/akonadi-contacts/src/akonadi-contacts-widgets/tests/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 # convenience macro to add akonadi demo application
0006 macro(add_akonadi_contact_demo _source)
0007   set(_test ${_source})
0008   get_filename_component( _name ${_source} NAME_WE )
0009   add_executable( ${_name} ${_test})
0010   target_link_libraries(${_name}
0011      KPim6::AkonadiContactCore
0012      KF6::Completion
0013      KF6::I18n
0014      KF6::WidgetsAddons
0015      KPim6::AkonadiContactWidgets
0016      Qt::Test)
0017   ecm_mark_as_test(${_name})
0018 endmacro()
0019 
0020 ########### next target ###############
0021 
0022 add_akonadi_contact_demo(emailaddressselectionwidgettest.cpp emailaddressselectionwidgettest.h)
0023 add_akonadi_contact_demo(emailaddressselectiondialogtest.cpp)