summaryrefslogtreecommitdiffstats
path: root/tests/manual/rhi/ubo/CMakeLists.txt
blob: 2d334d38c19dfdb2bff673dd97361dd58110b7f0 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#####################################################################
## ubo Binary:
#####################################################################

qt_internal_add_manual_test(ubo
    GUI
    SOURCES
        main.cpp
    LIBRARIES
        Qt::3DCore
        Qt::3DExtras
        Qt::3DInput
        Qt::3DRender
        Qt::3DQuick
        Qt::3DQuickExtras
        Qt::Gui
        Qt::Qml
        Qt::Quick
)

find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)

# Resources:
set(qmake_immediate_resource_files
    "main.qml"
)

qt_internal_add_resource(ubo "qmake_immediate"
    PREFIX
        "/"
    FILES
        ${qmake_immediate_resource_files}
)


## Scopes:
#####################################################################