summaryrefslogtreecommitdiffstats
path: root/tests/manual/graphicsframecapture/CMakeLists.txt
blob: 8d5fc5952d0540816d9bd30bfbb51df56988d580 (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
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

#####################################################################
## graphicsframecapture Binary:
#####################################################################

qt_internal_add_manual_test(graphicsframecapture
    SOURCES
        examplewindow.cpp examplewindow.h
        main.cpp
        window.cpp window.h
    LIBRARIES
        Qt::Gui
        Qt::GuiPrivate
)

# Resources:
set_source_files_properties("../rhi/shared/color.frag.qsb"
    PROPERTIES QT_RESOURCE_ALIAS "color.frag.qsb"
)
set_source_files_properties("../rhi/shared/color.vert.qsb"
    PROPERTIES QT_RESOURCE_ALIAS "color.vert.qsb"
)
set(graphicsframecapture_resource_files
    "../rhi/shared/color.frag.qsb"
    "../rhi/shared/color.vert.qsb"
)

qt_internal_add_resource(graphicsframecapture "graphicsframecapture"
    PREFIX
        "/"
    FILES
        ${graphicsframecapture_resource_files}
)