Warning, /pim/akonadi-contacts/src/akonadi-contacts-widgets/editor/customfieldeditor/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 set(customfieldswidgettest_SRCS customfieldswidgettest.cpp customfieldswidgettest.h ../customfieldswidget.cpp ../customfieldeditorwidget.cpp ../customfieldslistwidget.cpp ../customfieldsmodel.cpp
0004     ../customfieldslistdelegate.cpp ../../utils/utils.cpp)
0005 add_executable(customfieldswidgettest ${customfieldswidgettest_SRCS})
0006 add_test(NAME customfieldswidgettest COMMAND customfieldswidgettest)
0007 ecm_mark_as_test(customfieldswidgettest)
0008 target_link_libraries(customfieldswidgettest Qt::Test Qt::Widgets KPim6::AkonadiContactWidgets KF6::Contacts KF6::I18n KF6::Completion KF6::ConfigCore KF6::WidgetsAddons)
0009 
0010 
0011 add_executable(customfieldeditorwidgettest customfieldeditorwidgettest.cpp customfieldeditorwidgettest.h ../customfieldeditorwidget.cpp)
0012 add_test(NAME customfieldeditorwidgettest COMMAND customfieldeditorwidgettest)
0013 ecm_mark_as_test(customfieldeditorwidgettest)
0014 target_link_libraries(customfieldeditorwidgettest Qt::Test Qt::Widgets KPim6::AkonadiContactWidgets KF6::Contacts KF6::I18n KF6::Completion KF6::WidgetsAddons)
0015 
0016 add_executable(customfieldslistwidgettest)
0017 target_sources(customfieldslistwidgettest PRIVATE
0018     customfieldslistwidgettest.cpp customfieldslistwidgettest.h ../customfieldslistwidget.cpp ../customfieldsmodel.cpp
0019     ../customfieldslistdelegate.cpp  ../../utils/utils.cpp
0020 
0021 )
0022 add_test(NAME customfieldslistwidgettest COMMAND customfieldslistwidgettest)
0023 ecm_mark_as_test(customfieldslistwidgettest)
0024 target_link_libraries(customfieldslistwidgettest Qt::Test  Qt::Widgets KPim6::AkonadiContactWidgets KF6::Contacts KF6::I18n KF6::Completion KF6::ConfigCore KF6::WidgetsAddons)