Warning, /pim/kdepim-addons/kaddressbook/plugins/mergelib/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 add_library(kaddressbookmergelibprivate)
0005 
0006 target_sources(kaddressbookmergelibprivate PRIVATE
0007     job/searchpotentialduplicatecontactjob.cpp
0008     job/mergecontactsjob.cpp
0009     job/mergecontacts.cpp
0010 
0011     manualmerge/mergecontactsdialog.cpp
0012     manualmerge/mergecontactwidget.cpp
0013     manualmerge/mergecontactwidgetlist.cpp
0014 
0015     searchduplicate/searchandmergecontactduplicatecontactdialog.cpp
0016     searchduplicate/searchduplicateresultwidget.cpp
0017     searchduplicate/resultduplicatetreewidget.cpp
0018     searchduplicate/mergecontactselectinformationtabwidget.cpp
0019 
0020     widgets/mergecontactinfowidget.cpp
0021     widgets/mergecontactshowresulttabwidget.cpp
0022     widgets/mergecontactselectinformationwidget.cpp
0023     widgets/mergecontactselectlistwidget.cpp
0024     widgets/mergecontactloseinformationwarning.cpp
0025     widgets/mergecontactselectinformationscrollarea.cpp
0026     widgets/mergecontacterrorlabel.cpp
0027 
0028     job/searchpotentialduplicatecontactjob.h
0029     job/mergecontactsjob.h
0030     job/mergecontacts.h
0031 
0032     manualmerge/mergecontactsdialog.h
0033     manualmerge/mergecontactwidget.h
0034     manualmerge/mergecontactwidgetlist.h
0035 
0036     searchduplicate/searchandmergecontactduplicatecontactdialog.h
0037     searchduplicate/searchduplicateresultwidget.h
0038     searchduplicate/resultduplicatetreewidget.h
0039     searchduplicate/mergecontactselectinformationtabwidget.h
0040 
0041     widgets/mergecontactinfowidget.h
0042     widgets/mergecontactshowresulttabwidget.h
0043     widgets/mergecontactselectinformationwidget.h
0044     widgets/mergecontactselectlistwidget.h
0045     widgets/mergecontactloseinformationwarning.h
0046     widgets/mergecontactselectinformationscrollarea.h
0047     widgets/mergecontacterrorlabel.h
0048     )
0049 ecm_qt_declare_logging_category(kaddressbookmergelibprivate HEADER kaddressbookmergelibprivate_debug.h IDENTIFIER KADDRESSBOOKMERGELIBPRIVATE_LOG CATEGORY_NAME org.kde.pim.kaddressbookmergelibprivate
0050     DESCRIPTION "kdepim-addons (kaddressbook merge contact plugin)"
0051     EXPORT KDEPIMADDONS
0052     )
0053 
0054 generate_export_header(kaddressbookmergelibprivate BASE_NAME kaddressbookmergelib)
0055 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0056     set_target_properties(kaddressbookmergelibprivate PROPERTIES UNITY_BUILD ON)
0057 endif()
0058 
0059 
0060 target_link_libraries(kaddressbookmergelibprivate
0061     PRIVATE
0062     Qt::Network
0063     KF6::I18n
0064     KF6::Contacts
0065     KPim6::AkonadiContactWidgets
0066     KF6::ConfigCore
0067     KF6::WidgetsAddons
0068     KPim6::AkonadiWidgets
0069     KF6::ItemViews
0070     KF6::ConfigGui
0071     )
0072 
0073 set_target_properties(kaddressbookmergelibprivate
0074     PROPERTIES VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION}
0075     )
0076 
0077 install(TARGETS kaddressbookmergelibprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
0078 
0079 
0080 if (BUILD_TESTING)
0081     add_subdirectory(autotests)
0082 endif()