Warning, /pim/kdepim-addons/sieveeditor/imapfoldercompletion/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 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0004 kcoreaddons_add_plugin(imapfoldercompletionplugin INSTALL_NAMESPACE pim6/libksieve)
0005 
0006 set(sieveeditor_plugin_categories_SRCS)
0007 ecm_qt_declare_logging_category(sieveeditor_plugin_categories_SRCS HEADER imapfoldercompletionplugin_debug.h IDENTIFIER
0008     IMAPFOLDERCOMPLETIONPLUGIN_LOG CATEGORY_NAME org.kde.pim.imapfoldercompletion
0009     DESCRIPTION "kdepim-addons (SieveEditor imap completion folder)"
0010     EXPORT KDEPIMADDONS
0011     )
0012 
0013 
0014 if(BUILD_TESTING)
0015     add_subdirectory(tests)
0016     add_subdirectory(autotests)
0017 endif()
0018 
0019 
0020 target_sources(imapfoldercompletionplugin PRIVATE
0021     selectimapfolderdialog.cpp
0022     selectimapfolderwidget.cpp
0023     selectimapwidget.cpp
0024     selectimaploadfoldersjob.cpp
0025     selectimapfoldermodel.cpp
0026     selectimaplineedit.cpp
0027     selectimaplineeditcompletermodel.cpp
0028     selectimapcreatefolderjob.cpp
0029     selectimapfoldertreeview.cpp
0030     ${sieveeditor_plugin_categories_SRCS}
0031     selectimapfolderdialog.h
0032     selectimapfolderwidget.h
0033     selectimapwidget.h
0034     selectimaploadfoldersjob.h
0035     selectimapfoldermodel.h
0036     selectimaplineedit.h
0037     selectimaplineeditcompletermodel.h
0038     selectimapcreatefolderjob.h
0039     selectimapfoldertreeview.h
0040     )
0041 
0042 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0043     set_target_properties(imapfoldercompletionplugin PROPERTIES UNITY_BUILD ON)
0044 endif()
0045 target_link_libraries(imapfoldercompletionplugin
0046     KPim6::PimCommon KF6::Completion KF6::I18n KF6::KIOWidgets KPim6::KSieveUi KPim6::MailTransport KPim6::IMAP KF6::ItemModels
0047     )