mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
34 lines
788 B
CMake
34 lines
788 B
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
qt_internal_add_manual_test(rhiwidget
|
|
GUI
|
|
SOURCES
|
|
examplewidget.cpp examplewidget.h
|
|
rhiwidget.cpp rhiwidget.h rhiwidget_p.h
|
|
main.cpp
|
|
LIBRARIES
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
Qt::Widgets
|
|
Qt::WidgetsPrivate
|
|
)
|
|
|
|
set_source_files_properties("../shared/texture.vert.qsb"
|
|
PROPERTIES QT_RESOURCE_ALIAS "texture.vert.qsb"
|
|
)
|
|
set_source_files_properties("../shared/texture.frag.qsb"
|
|
PROPERTIES QT_RESOURCE_ALIAS "texture.frag.qsb"
|
|
)
|
|
set(rhiwidget_resource_files
|
|
"../shared/texture.vert.qsb"
|
|
"../shared/texture.frag.qsb"
|
|
)
|
|
|
|
qt_internal_add_resource(rhiwidget "rhiwidget"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${rhiwidget_resource_files}
|
|
)
|