summaryrefslogtreecommitdiffstats
path: root/src/graphs3d/qml/designer/CMakeLists.txt
blob: cc5337e93025feb4fe1813aecd713758e79d5ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

file(GLOB_RECURSE designer_image_files
    RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
    "images/*.png"
)
qt_path_join(images_destination ${QT_INSTALL_DIR} "${INSTALL_QMLDIR}/QtGraphs/designer/images")
qt_copy_or_install(
    FILES
        ${designer_image_files}
    DESTINATION "${images_destination}"
)

qt_path_join(destination ${QT_INSTALL_DIR} "${INSTALL_QMLDIR}/QtGraphs/designer")
qt_copy_or_install(
    FILES
        Bars3DSpecifics.qml
        GraphsCameraSection.qml
        GraphsSection.qml
        Scatter3DSpecifics.qml
        Surface3DSpecifics.qml
        qtgraphs.metainfo
    DESTINATION "${destination}"
)

add_subdirectory(default)