Warning, /pim/merkuro/src/quick/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: (C) 2020 Carl Schwan <carl@carlschwan.eu>
0002 #
0003 # SPDX-License-Identifier: BSD-2-Clause
0004 
0005 ecm_add_qml_module(akonadi_quick_plugin URI "org.kde.akonadi" VERSION 1.0)
0006 
0007 target_sources(akonadi_quick_plugin PRIVATE
0008     collectioncomboboxmodel.cpp
0009     collectioncomboboxmodel.h
0010     collectionpickermodel.cpp
0011     collectionpickermodel.h
0012     collection.cpp
0013     collection.h
0014     mimetypes.cpp
0015     mimetypes.h
0016     akonadiquickplugin.cpp
0017     akonadiquickplugin.h
0018     agentconfiguration.cpp
0019     agentconfiguration.h
0020     tagmanager.h
0021     tagmanager.cpp
0022 )
0023 
0024 ecm_target_qml_sources(akonadi_quick_plugin SOURCES
0025     qml/CollectionComboBox.qml
0026     qml/MobileCollectionComboBox.qml
0027     qml/AgentConfigurationForm.qml
0028     qml/TagManagerPage.qml
0029 )
0030 
0031 ecm_qt_declare_logging_category(akonadi_quick_plugin
0032     HEADER akonadi_quick_debug.h
0033     IDENTIFIER AKONADI_QUICK_LOG
0034     CATEGORY_NAME org.kde.akonadi.quick
0035     DESCRIPTION "Akonadi QtQuick Plugin"
0036     EXPORT MERKURO
0037 )
0038 
0039 target_link_libraries(akonadi_quick_plugin PRIVATE merkuro_lib KF6::WindowSystem KPim6::AkonadiWidgets)
0040 
0041 ecm_qt_install_logging_categories(
0042     EXPORT MERKURO
0043     FILE akonadi.quick.categories
0044     DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
0045 )
0046 
0047 ecm_finalize_qml_module(akonadi_quick_plugin
0048     DESTINATION ${KDE_INSTALL_QMLDIR}
0049     BUILD_SHARED_LIBS OFF
0050 )