Warning, /pim/kdepim-addons/kaddressbook/importexportplugins/windows-contacts/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: none
0002 # SPDX-License-Identifier: BSD-3-Clause
0003
0004 kcoreaddons_add_plugin(kaddressbook_importexportwindowscontactplugin INSTALL_NAMESPACE pim6/kaddressbook/importexportplugin)
0005
0006 ecm_qt_declare_logging_category(kaddressbook_importexportwindowscontactplugin HEADER importexportwindowscontactplugin_debug.h IDENTIFIER IMPORTEXPORTWINDOWSCONTACTPLUGIN_LOG CATEGORY_NAME org.kde.pim.importexportwindowscontactplugin
0007 DESCRIPTION "kdepim-addons (Import/Export Windows Contact plugin)"
0008 EXPORT KDEPIMADDONS
0009 )
0010 target_sources(kaddressbook_importexportwindowscontactplugin PRIVATE
0011 ${kaddressbook_importexport_windowscontact_debugfile_SRCS}
0012 windowscontactimportexportplugin.cpp
0013 windowscontactimportexportplugininterface.cpp
0014 importwindowcontact.cpp
0015 windowscontactimportexportplugin.h
0016 windowscontactimportexportplugininterface.h
0017 importwindowcontact.h
0018 )
0019
0020 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0021 set_target_properties(kaddressbook_importexportwindowscontactplugin PROPERTIES UNITY_BUILD ON)
0022 endif()
0023
0024 target_link_libraries(kaddressbook_importexportwindowscontactplugin
0025 KPim6::AddressbookImportExport
0026 KPim6::PimCommon
0027 KF6::I18n
0028 KF6::XmlGui
0029 KF6::Contacts
0030 KF6::JobWidgets
0031 KF6::Completion
0032 KF6::KIOWidgets
0033 KPim6::AkonadiCore
0034 )
0035
0036 if(BUILD_TESTING)
0037 add_subdirectory(autotests)
0038 endif()