1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
|
# SPDX-FileCopyrightText: 2011-2022 Laurent Montel <montel@kde.org>
# SPDX-License-Identifier: BSD-3-Clause
add_library(pimdataexporterprivate)
target_sources(pimdataexporterprivate PRIVATE
calendar/exportcalendarjobinterfaceimpl.cpp
calendar/importcalendarjobinterfaceimpl.cpp
addressbook/exportaddressbookjobinterfaceimpl.cpp
addressbook/importaddressbookjobinterfaceimpl.cpp
mail/exportmailjobinterfaceimpl.cpp
mail/importmailjobinterfaceimpl.cpp
mail/importexportmailutil.cpp
mail/smtpmailtransport.cpp
alarm/exportalarmjobinterfaceimpl.cpp
alarm/importalarmjobinterfaceimpl.cpp
notes/exportnotesjobinterface.cpp
notes/importnotesjobinterface.cpp
calendar/exportcalendarjobinterface.cpp
calendar/importcalendarjobinterface.cpp
addressbook/exportaddressbookjobinterface.cpp
addressbook/importaddressbookjobinterface.cpp
alarm/importalarmjobinterface.cpp
alarm/exportalarmjobinterface.cpp
mail/exportmailjobinterface.cpp
mail/importmailjobinterface.cpp
notes/exportnotesjobinterfaceimpl.cpp
notes/importnotesjobinterfaceimpl.cpp
xml/templateselection.cpp
akregator/exportakregatorjobinterface.cpp
akregator/importakregatorjobinterface.cpp
abstractimportexportjob.cpp
pimdataexporterkernel.cpp
utils.cpp
archivestorage.cpp
synchronizeresourcejob.cpp
pimdatabackuprestore.cpp
importexportprogressindicatorbase.cpp
pimdatabackupthread.cpp
exportresourcearchivejob.cpp
pimdataimportdatainfofile.cpp
resourceconverterbase.cpp
resourceconverterimpl.cpp
storeresourcejob.cpp
backupresourcefilejobbase.cpp
backupresourcefilejobimpl.cpp
utils.h
alarm/exportalarmjobinterface.h
alarm/importalarmjobinterfaceimpl.h
alarm/exportalarmjobinterfaceimpl.h
alarm/importalarmjobinterface.h
abstractimportexportjob.h
backupresourcefilejobimpl.h
akregator/importakregatorjobinterface.h
akregator/exportakregatorjobinterface.h
pimdatabackupthread.h
xml/templateselection.h
pimdataimportdatainfofile.h
mail/smtpmailtransport.h
mail/importmailjobinterfaceimpl.h
mail/importmailjobinterface.h
mail/exportmailjobinterfaceimpl.h
mail/importexportmailutil.h
mail/exportmailjobinterface.h
resourceconverterbase.h
notes/importnotesjobinterfaceimpl.h
notes/exportnotesjobinterface.h
notes/importnotesjobinterface.h
notes/exportnotesjobinterfaceimpl.h
storeresourcejob.h
calendar/exportcalendarjobinterfaceimpl.h
calendar/importcalendarjobinterfaceimpl.h
calendar/exportcalendarjobinterface.h
calendar/importcalendarjobinterface.h
pimdataexporterkernel.h
importexportprogressindicatorbase.h
resourceconverterimpl.h
archivestorage.h
pimdataexportercore_private_export.h
pimdatabackuprestore.h
addressbook/exportaddressbookjobinterface.h
addressbook/exportaddressbookjobinterfaceimpl.h
addressbook/importaddressbookjobinterfaceimpl.h
addressbook/importaddressbookjobinterface.h
exportresourcearchivejob.h
synchronizeresourcejob.h
backupresourcefilejobbase.h
mail/exportmailfolderattributejob.h
mail/exportmailfolderattributejob.cpp
mail/exportmailfolderattributejobimpl.h
mail/exportmailfolderattributejobimpl.cpp
mail/importmailfolderattributejob.h
mail/importmailfolderattributejob.cpp
mail/importmailfolderattributejobimpl.h
mail/importmailfolderattributejobimpl.cpp
)
ecm_qt_declare_logging_category(pimdataexporterprivate HEADER pimdataexportcore_debug.h IDENTIFIER PIMDATAEXPORTERCORE_LOG CATEGORY_NAME org.kde.pim.pimdataexportercore
DESCRIPTION "pimdataexporter (pimdataexporter lib core)"
OLD_CATEGORY_NAMES log_pimsettingexportercore org.kde.pim.pimsettingexportercore
EXPORT PIMDATAEXPORTER
)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(pimdataexporterprivate PROPERTIES UNITY_BUILD ON)
endif()
generate_export_header(pimdataexporterprivate BASE_NAME pimdataexporter)
target_link_libraries(pimdataexporterprivate
PRIVATE
KF5::AkonadiCore
KF5::Mime
KF5::MailTransport
KF5::MailCommon
KF5::Archive
KF5::PimCommonAkonadi
KF5::I18n
KF5::CalendarCore
KF5::AkonadiNotes
)
set_target_properties(pimdataexporterprivate PROPERTIES VERSION ${KDEPIM_LIB_VERSION} SOVERSION ${KDEPIM_LIB_SOVERSION})
install(TARGETS pimdataexporterprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
if(BUILD_TESTING)
add_subdirectory(autotests)
endif()
|