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:
parent
4046b970e7
commit
1fa03ced47
@ -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
|
||||
|
4
tests/auto/gui/rhi/CMakeLists.txt
Normal file
4
tests/auto/gui/rhi/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
||||
# Generated from rhi.pro.
|
||||
|
||||
add_subdirectory(qshader)
|
||||
add_subdirectory(qrhi)
|
27
tests/auto/gui/rhi/qrhi/CMakeLists.txt
Normal file
27
tests/auto/gui/rhi/qrhi/CMakeLists.txt
Normal 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}
|
||||
)
|
||||
|
27
tests/auto/gui/rhi/qshader/CMakeLists.txt
Normal file
27
tests/auto/gui/rhi/qshader/CMakeLists.txt
Normal 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}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user