Port rhi tests

Change-Id: I3bf5731696a0647bf0e62758eb3d1742ba097041
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Leander Beernaert 2019-10-28 09:45:27 +01:00
parent 4046b970e7
commit 1fa03ced47
4 changed files with 59 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if(NOT APPLE_UIKIT)
# add_subdirectory(text) # special case missing project
add_subdirectory(util)
add_subdirectory(itemmodels)
# add_subdirectory(rhi) # special case missing project
add_subdirectory(rhi)
endif()
if(QT_FEATURE_opengl AND NOT APPLE_UIKIT AND NOT WINRT)
# add_subdirectory(qopenglconfig) # special case missing project

View File

@ -0,0 +1,4 @@
# Generated from rhi.pro.
add_subdirectory(qshader)
add_subdirectory(qrhi)

View File

@ -0,0 +1,27 @@
# Generated from qrhi.pro.
#####################################################################
## tst_qrhi Test:
#####################################################################
add_qt_test(tst_qrhi
SOURCES
tst_qrhi.cpp
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Gui
)
# Resources:
set(qrhi_resource_files
"data"
)
add_qt_resource(tst_qrhi "qrhi"
PREFIX
"/"
FILES
${qrhi_resource_files}
)

View File

@ -0,0 +1,27 @@
# Generated from qshader.pro.
#####################################################################
## tst_qshader Test:
#####################################################################
add_qt_test(tst_qshader
SOURCES
tst_qshader.cpp
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Gui
)
# Resources:
set(qshader_resource_files
"data"
)
add_qt_resource(tst_qshader "qshader"
PREFIX
"/"
FILES
${qshader_resource_files}
)