2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2019-11-12 13:01:48 +00:00
|
|
|
#####################################################################
|
|
|
|
## offscreen Binary:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_manual_test(offscreen
|
2019-11-12 13:01:48 +00:00
|
|
|
SOURCES
|
|
|
|
offscreen.cpp
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2019-11-12 13:01:48 +00:00
|
|
|
Qt::Gui
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::GuiPrivate
|
2019-11-12 13:01:48 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Resources:
|
|
|
|
set_source_files_properties("../shared/color.frag.qsb"
|
|
|
|
PROPERTIES QT_RESOURCE_ALIAS "color.frag.qsb"
|
|
|
|
)
|
|
|
|
set_source_files_properties("../shared/color.vert.qsb"
|
|
|
|
PROPERTIES QT_RESOURCE_ALIAS "color.vert.qsb"
|
|
|
|
)
|
|
|
|
set(offscreen_resource_files
|
|
|
|
"../shared/color.frag.qsb"
|
|
|
|
"../shared/color.vert.qsb"
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_resource(offscreen "offscreen"
|
2019-11-12 13:01:48 +00:00
|
|
|
PREFIX
|
|
|
|
"/"
|
|
|
|
FILES
|
|
|
|
${offscreen_resource_files}
|
|
|
|
)
|