Warning, /pim/pim-data-exporter/console/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 
0004 include_directories(${AKONADI_INCLUDE_DIR} 
0005     ${pim-data-exporter_SOURCE_DIR}/core/
0006     )
0007 add_executable(pimdataexporterconsole)
0008 
0009 target_sources(pimdataexporterconsole PRIVATE
0010     importexportprogressindicatorconsole.cpp
0011     pimdataexporterconsole.cpp
0012     loginfo.cpp
0013     loginfile.cpp
0014     main.cpp
0015     importexportprogressindicatorconsole.h
0016     pimdataexporterconsole.h
0017     loginfo.h
0018     loginfile.h
0019     )
0020 
0021 
0022 ecm_qt_declare_logging_category(pimdataexporterconsole HEADER pimdataexportconsole_debug.h IDENTIFIER PIMDATAEXPORTERCONSOLE_LOG CATEGORY_NAME org.kde.pim.pimdataexporterconsole
0023         DESCRIPTION "pimdataexporter (pimdataexporter console)"
0024         OLD_CATEGORY_NAMES log_pimsettingexporterconsole org.kde.pim.pimsettingexporterconsole
0025         EXPORT PIMDATAEXPORTER
0026     )
0027 
0028 
0029 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0030     set_target_properties(pimdataexporterconsole PROPERTIES UNITY_BUILD ON)
0031 endif()
0032 
0033 target_link_libraries(pimdataexporterconsole KF6::ConfigCore KF6::CoreAddons KF6::I18n KF6::Archive KPim6::AkonadiCore   KPim6::MailCommon
0034     pimdataexporterprivate
0035     )
0036 if (BUILD_TESTING)
0037     add_subdirectory(autotests)
0038 endif()
0039 install(TARGETS pimdataexporterconsole ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
0040