summaryrefslogtreecommitdiffstats
path: root/tests/manual/raycasting-qml/CMakeLists.txt
blob: 3368d34d58628d90b1e5848994293bc8141cceab (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

# Generated from raycasting-qml.pro.

#####################################################################
## raycasting-qml Binary:
#####################################################################

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

# Resources:
set(raycasting-qml_resource_files
    main.qml
    CylinderEntity.qml
    LineEntity.qml
    LineMaterial.qml
)
set(raycasting-shader_resource_files
    shaders/es2/simpleColor.frag
    shaders/es2/simpleColor.vert
    shaders/gl3/simpleColor.frag
    shaders/gl3/simpleColor.vert
)

qt_internal_add_resource(raycasting-qml "raycasting-qml"
    PREFIX
        "/"
    FILES
        ${raycasting-qml_resource_files}
)

qt_internal_add_resource(raycasting-qml "shaders"
    PREFIX
        "/"
    FILES
        ${raycasting-shader_resource_files}
)
target_sources(raycasting-qml PRIVATE ${raycasting-qml_resource_files} ${raycasting-shader_resource_files})

#### Keys ignored in scope 1:.:.:raycasting-qml.pro:<TRUE>:
# OTHER_FILES = "main.qml"

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