Warning, /pim/kleopatra/src/libkleopatraclient/core/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 if(WIN32)
0005   set(_kleopatraclientcore_extra_SRCS ../../utils/gnupg-registry.c)
0006 else()
0007   set(_kleopatraclientcore_extra_SRCS)
0008 endif()
0009 
0010 ecm_qt_declare_logging_category(_kleopatraclientcore_common_SRCS HEADER libkleopatraclientcore_debug.h IDENTIFIER LIBKLEOPATRACLIENTCORE_LOG CATEGORY_NAME org.kde.pim.libkleopatraclientcore
0011         DESCRIPTION "kleopatra client core (kleopatra)"
0012         OLD_CATEGORY_NAMES log_libkleopatraclientcore
0013         EXPORT KLEOPATRA
0014     )
0015 
0016 
0017 add_library(kleopatraclientcore
0018   ${_kleopatraclientcore_extra_SRCS}
0019   initialization.cpp
0020   command.cpp
0021   selectcertificatecommand.cpp
0022   signencryptfilescommand.cpp
0023   decryptverifyfilescommand.cpp
0024   libkleopatraclientcore_debug.cpp
0025   initialization.h
0026   command.h
0027   selectcertificatecommand.h
0028   signencryptfilescommand.h
0029   decryptverifyfilescommand.h
0030   libkleopatraclientcore_debug.h
0031   ${_kleopatraclientcore_common_SRCS}
0032 )
0033 generate_export_header(kleopatraclientcore BASE_NAME kleopatraclientcore)
0034 
0035 set_target_properties(kleopatraclientcore PROPERTIES
0036   VERSION ${libkleopatraclient_version}
0037   SOVERSION ${libkleopatraclient_soversion}
0038 )
0039 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0040     set_target_properties(kleopatraclientcore PROPERTIES UNITY_BUILD ON)
0041 endif()
0042 
0043 target_link_libraries(kleopatraclientcore LibAssuan::LibAssuan LibGpgError::LibGpgError Qt::Widgets KF6::I18n Gpgmepp)
0044 
0045 install(TARGETS kleopatraclientcore ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)