Warning, /pim/kdepim-addons/plugins/messageviewer/bodypartformatter/gnupgwks/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 add_definitions(-DTRANSLATION_DOMAIN=\"messageviewer_application_gnupgwks_plugin\")
0004 
0005 add_library(messageviewer_bodypartformatter_application_gnupgwks MODULE)
0006 target_sources(messageviewer_bodypartformatter_application_gnupgwks PRIVATE
0007     plugin.cpp
0008     gnupgwksformatter.cpp
0009     gnupgwksurlhandler.cpp
0010     gnupgwksmessagepart.cpp
0011     pgpkeyformatter.cpp
0012     pgpkeymemento.cpp
0013     pgpkeymessagepart.cpp
0014     pgpkeyurlhandler.cpp
0015 
0016     plugin.h
0017     gnupgwksformatter.h
0018     gnupgwksurlhandler.h
0019     gnupgwksmessagepart.h
0020     pgpkeyformatter.h
0021     pgpkeymemento.h
0022     pgpkeymessagepart.h
0023     pgpkeyurlhandler.h
0024 
0025     templates.qrc
0026     )
0027 
0028 ecm_qt_declare_logging_category(messageviewer_bodypartformatter_application_gnupgwks
0029     HEADER gnupgwks_debug.h
0030     IDENTIFIER GNUPGWKS_LOG
0031     CATEGORY_NAME org.kde.pim.gnupgwks
0032     DESCRIPTION "kdepim-addons (OpenPGP and GnuPG WKS body part formatter plugin)"
0033     EXPORT KDEPIMADDONS
0034     )
0035 
0036 
0037 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0038     set_target_properties(messageviewer_bodypartformatter_application_gnupgwks PROPERTIES UNITY_BUILD ON)
0039 endif()
0040 
0041 target_link_libraries(messageviewer_bodypartformatter_application_gnupgwks
0042     Qt::Core
0043     KPim6::MessageCore
0044     KPim6::MessageViewer
0045     KPim6::AkonadiMime
0046     KPim6::MailTransport
0047     KPim6::GrantleeTheme
0048     KF6::I18n
0049     KPim6::Mime
0050     KPim6::IdentityManagementCore
0051     KF6::TextTemplate
0052     Gpgmepp
0053     )
0054 install(TARGETS messageviewer_bodypartformatter_application_gnupgwks DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/messageviewer/bodypartformatter)