Warning, /libraries/kirigami-addons/src/components/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2023 Carl Schwan <carl@carlschwan.eu>
0002 # SPDX-License-Identifier: BSD-2-Clause
0003
0004 # Labs module
0005
0006 ecm_add_qml_module(componentslabsplugin URI "org.kde.kirigamiaddons.labs.components" VERSION 1.0)
0007
0008 target_sources(componentslabsplugin PRIVATE
0009 nameutils.h
0010 nameutils.cpp
0011 componentslabsplugin.cpp
0012 )
0013
0014 ecm_target_qml_sources(componentslabsplugin SOURCES
0015 Avatar.qml
0016 AbstractMaximizeComponent.qml
0017 AlbumMaximizeComponent.qml
0018 ImageMaximizeDelegate.qml
0019 VideoMaximizeDelegate.qml
0020 AlbumModelItem.qml
0021 Banner.qml
0022 DownloadAction.qml
0023 SearchPopupField.qml
0024 DialogRoundedBackground.qml
0025 )
0026
0027 target_link_libraries(componentslabsplugin PRIVATE
0028 Qt6::Quick
0029 Qt6::Qml
0030 Qt6::QuickControls2
0031 )
0032
0033 ecm_finalize_qml_module(componentslabsplugin DESTINATION ${KDE_INSTALL_QMLDIR})
0034
0035 # Non labs module
0036
0037 ecm_add_qml_module(componentsplugin URI "org.kde.kirigamiaddons.components" VERSION 1.0)
0038
0039 target_sources(componentsplugin PRIVATE
0040 nameutils.h
0041 nameutils.cpp
0042 componentsplugin.cpp
0043 )
0044
0045 ecm_target_qml_sources(componentsplugin SOURCES
0046 Avatar.qml
0047 AvatarButton.qml
0048 FloatingButton.qml
0049 DoubleFloatingButton.qml
0050 Banner.qml
0051 BottomDrawer.qml
0052 DialogRoundedBackground.qml
0053
0054 MessageDialog.qml
0055 MessageDialogButton.qml
0056 MessageDialogButtonBox.qml
0057 SearchPopupField.qml
0058 SegmentedButton.qml
0059 )
0060
0061 target_link_libraries(componentsplugin PRIVATE
0062 Qt6::Quick
0063 Qt6::Qml
0064 Qt6::QuickControls2
0065 )
0066
0067 ecm_finalize_qml_module(componentsplugin DESTINATION ${KDE_INSTALL_QMLDIR})