Warning, /pim/pim-data-exporter/core/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2011-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 add_library(pimdataexporterprivate)
0004 
0005 target_sources(pimdataexporterprivate PRIVATE
0006     calendar/exportcalendarjobinterfaceimpl.cpp
0007     calendar/importcalendarjobinterfaceimpl.cpp
0008 
0009     addressbook/exportaddressbookjobinterfaceimpl.cpp
0010     addressbook/importaddressbookjobinterfaceimpl.cpp
0011 
0012     mail/exportmailjobinterfaceimpl.cpp
0013     mail/importmailjobinterfaceimpl.cpp
0014     mail/importexportmailutil.cpp
0015     mail/smtpmailtransport.cpp
0016 
0017     alarm/exportalarmjobinterfaceimpl.cpp
0018     alarm/importalarmjobinterfaceimpl.cpp
0019 
0020     notes/exportnotesjobinterface.cpp
0021     notes/importnotesjobinterface.cpp
0022     calendar/exportcalendarjobinterface.cpp
0023     calendar/importcalendarjobinterface.cpp
0024     addressbook/exportaddressbookjobinterface.cpp
0025     addressbook/importaddressbookjobinterface.cpp
0026     alarm/importalarmjobinterface.cpp
0027     alarm/exportalarmjobinterface.cpp
0028     mail/exportmailjobinterface.cpp
0029     mail/importmailjobinterface.cpp
0030 
0031     notes/exportnotesjobinterfaceimpl.cpp
0032     notes/importnotesjobinterfaceimpl.cpp
0033     xml/templateselection.cpp
0034     akregator/exportakregatorjobinterface.cpp
0035     akregator/importakregatorjobinterface.cpp
0036 
0037     abstractimportexportjob.cpp
0038     pimdataexporterkernel.cpp
0039     utils.cpp
0040     archivestorage.cpp
0041     synchronizeresourcejob.cpp
0042     pimdatabackuprestore.cpp
0043     importexportprogressindicatorbase.cpp
0044     pimdatabackupthread.cpp
0045     exportresourcearchivejob.cpp
0046     pimdataimportdatainfofile.cpp
0047     resourceconverterbase.cpp
0048     resourceconverterimpl.cpp
0049     storeresourcejob.cpp
0050     backupresourcefilejobbase.cpp
0051     backupresourcefilejobimpl.cpp
0052     utils.h
0053     alarm/exportalarmjobinterface.h
0054     alarm/importalarmjobinterfaceimpl.h
0055     alarm/exportalarmjobinterfaceimpl.h
0056     alarm/importalarmjobinterface.h
0057     abstractimportexportjob.h
0058     backupresourcefilejobimpl.h
0059     akregator/importakregatorjobinterface.h
0060     akregator/exportakregatorjobinterface.h
0061     pimdatabackupthread.h
0062     xml/templateselection.h
0063     pimdataimportdatainfofile.h
0064     mail/smtpmailtransport.h
0065     mail/importmailjobinterfaceimpl.h
0066     mail/importmailjobinterface.h
0067     mail/exportmailjobinterfaceimpl.h
0068     mail/importexportmailutil.h
0069     mail/exportmailjobinterface.h
0070     resourceconverterbase.h
0071     notes/importnotesjobinterfaceimpl.h
0072     notes/exportnotesjobinterface.h
0073     notes/importnotesjobinterface.h
0074     notes/exportnotesjobinterfaceimpl.h
0075     storeresourcejob.h
0076     calendar/exportcalendarjobinterfaceimpl.h
0077     calendar/importcalendarjobinterfaceimpl.h
0078     calendar/exportcalendarjobinterface.h
0079     calendar/importcalendarjobinterface.h
0080     pimdataexporterkernel.h
0081     importexportprogressindicatorbase.h
0082     resourceconverterimpl.h
0083     archivestorage.h
0084     pimdataexportercore_private_export.h
0085     pimdatabackuprestore.h
0086     addressbook/exportaddressbookjobinterface.h
0087     addressbook/exportaddressbookjobinterfaceimpl.h
0088     addressbook/importaddressbookjobinterfaceimpl.h
0089     addressbook/importaddressbookjobinterface.h
0090     exportresourcearchivejob.h
0091     synchronizeresourcejob.h
0092     backupresourcefilejobbase.h
0093 
0094     mail/exportmailfolderattributejob.h
0095     mail/exportmailfolderattributejob.cpp
0096     mail/exportmailfolderattributejobimpl.h
0097     mail/exportmailfolderattributejobimpl.cpp
0098 
0099     mail/importmailfolderattributejob.h
0100     mail/importmailfolderattributejob.cpp
0101     mail/importmailfolderattributejobimpl.h
0102     mail/importmailfolderattributejobimpl.cpp
0103 
0104     )
0105 
0106 ecm_qt_declare_logging_category(pimdataexporterprivate HEADER pimdataexportcore_debug.h IDENTIFIER PIMDATAEXPORTERCORE_LOG CATEGORY_NAME org.kde.pim.pimdataexportercore
0107         DESCRIPTION "pimdataexporter (pimdataexporter lib core)"
0108         OLD_CATEGORY_NAMES log_pimsettingexportercore org.kde.pim.pimsettingexportercore
0109         EXPORT PIMDATAEXPORTER
0110     )
0111 
0112 
0113 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0114     set_target_properties(pimdataexporterprivate PROPERTIES UNITY_BUILD ON)
0115 endif()
0116 
0117 generate_export_header(pimdataexporterprivate BASE_NAME pimdataexporter)
0118 
0119 
0120 
0121 target_link_libraries(pimdataexporterprivate
0122     PRIVATE
0123     KPim6::AkonadiCore
0124     KPim6::Mime
0125     KPim6::MailTransport
0126     KPim6::MailCommon
0127     KF6::Archive
0128     KPim6::PimCommonAkonadi
0129     KF6::I18n
0130     KF6::CalendarCore
0131     KPim6::AkonadiNotes
0132     )
0133 
0134 set_target_properties(pimdataexporterprivate PROPERTIES VERSION ${KDEPIM_LIB_VERSION} SOVERSION ${KDEPIM_LIB_SOVERSION})
0135 
0136 install(TARGETS pimdataexporterprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
0137 
0138 if(BUILD_TESTING)
0139     add_subdirectory(autotests)
0140 endif()
0141