Warning, /pim/kmail-account-wizard/src/accountwizard/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
0002 # SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 # SPDX-License-Identifier: BSD-3-Clause
0004 
0005 add_library(libaccountwizard SHARED)
0006 target_sources(libaccountwizard PRIVATE
0007     identitybase.h
0008     identitybase.cpp
0009     setupmanager.h
0010     setupmanager.cpp
0011 
0012     ispdb/configurationmodel.h
0013     ispdb/configurationmodel.cpp
0014     ispdb/serverconfiguration.h
0015     ispdb/serverconfiguration.cpp
0016     ispdbservice.h
0017     ispdbservice.cpp
0018     accountconfigurationbase.h
0019     accountconfigurationbase.cpp
0020     resource.h
0021     resource.cpp
0022     transport.h
0023     transport.cpp
0024     setupbase.h
0025     setupbase.cpp
0026     servertest.h
0027     servertest.cpp
0028 
0029     identityimpl.h
0030     identityimpl.cpp
0031     accountconfigurationimpl.h
0032     accountconfigurationimpl.cpp
0033 )
0034 
0035 generate_export_header(libaccountwizard BASE_NAME libaccountwizard)
0036 
0037 ecm_qt_declare_logging_category(libaccountwizard HEADER accountwizard_debug.h IDENTIFIER ACCOUNTWIZARD_LOG CATEGORY_NAME org.kde.pim.accountwizard
0038         OLD_CATEGORY_NAMES log_accountwizard
0039         DESCRIPTION "accountwizard (accountwizard)" EXPORT ACCOUNTWIZARD)
0040 
0041 
0042 target_link_libraries(libaccountwizard
0043     KPim6::AkonadiCore
0044     KPim6::AkonadiWidgets
0045     KPim6::MailTransport
0046     KPim6::Mime
0047     KF6::KIOCore
0048     KPim6::IdentityManagementCore
0049     KF6::WidgetsAddons
0050     KF6::I18n
0051     KF6::Crash
0052     Qt::Xml
0053     Qt::Quick
0054     Qt::QuickControls2
0055     KF6::DBusAddons
0056     )
0057 
0058 set_target_properties(libaccountwizard PROPERTIES OUTPUT_NAME accountwizard VERSION ${PIM_VERSION} SOVERSION ${KDEPIM_LIB_SOVERSION})
0059 install(TARGETS libaccountwizard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
0060 
0061 if (BUILD_TESTING)
0062     add_subdirectory(autotests)
0063 endif()
0064 
0065 ecm_qt_install_logging_categories(EXPORT ACCOUNTWIZARD FILE accountwizard.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
0066 
0067 install(TARGETS libaccountwizard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)