diff options
Diffstat (limited to 'tests/manual/graphicsframecapture/CMakeLists.txt')
-rw-r--r-- | tests/manual/graphicsframecapture/CMakeLists.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/manual/graphicsframecapture/CMakeLists.txt b/tests/manual/graphicsframecapture/CMakeLists.txt new file mode 100644 index 0000000000..8d5fc5952d --- /dev/null +++ b/tests/manual/graphicsframecapture/CMakeLists.txt @@ -0,0 +1,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} +) |