summaryrefslogtreecommitdiffstats
path: root/tests/auto/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/opengl')
-rw-r--r--tests/auto/opengl/CMakeLists.txt6
-rw-r--r--tests/auto/opengl/qgl/CMakeLists.txt42
-rw-r--r--tests/auto/opengl/qglbuffer/CMakeLists.txt21
-rw-r--r--tests/auto/opengl/qglfunctions/CMakeLists.txt21
-rw-r--r--tests/auto/opengl/qglthreads/CMakeLists.txt24
5 files changed, 114 insertions, 0 deletions
diff --git a/tests/auto/opengl/CMakeLists.txt b/tests/auto/opengl/CMakeLists.txt
new file mode 100644
index 0000000000..54238c1fa6
--- /dev/null
+++ b/tests/auto/opengl/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Generated from opengl.pro.
+
+add_subdirectory(qgl)
+add_subdirectory(qglbuffer)
+add_subdirectory(qglfunctions)
+add_subdirectory(qglthreads)
diff --git a/tests/auto/opengl/qgl/CMakeLists.txt b/tests/auto/opengl/qgl/CMakeLists.txt
new file mode 100644
index 0000000000..6af8834473
--- /dev/null
+++ b/tests/auto/opengl/qgl/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qgl.pro.
+
+if(NOT TARGET Qt::OpenGL)
+ return()
+endif()
+
+#####################################################################
+## tst_qgl Test:
+#####################################################################
+
+add_qt_test(tst_qgl
+ SOURCES
+ tst_qgl.cpp
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::OpenGLPrivate
+ Qt::WidgetsPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::OpenGL
+ Qt::Widgets
+)
+
+# Resources:
+set_source_files_properties("../../gui/image/qpixmap/images/designer.png"
+ PROPERTIES QT_RESOURCE_ALIAS "designer.png"
+)
+set(qgl_resource_files
+ "../../gui/image/qpixmap/images/designer.png"
+)
+
+add_qt_resource(tst_qgl "qgl"
+ PREFIX
+ "/"
+ FILES
+ ${qgl_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qgl.pro:<TRUE>:
+# _REQUIREMENTS = "qtHaveModule(opengl)"
diff --git a/tests/auto/opengl/qglbuffer/CMakeLists.txt b/tests/auto/opengl/qglbuffer/CMakeLists.txt
new file mode 100644
index 0000000000..f494115638
--- /dev/null
+++ b/tests/auto/opengl/qglbuffer/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qglbuffer.pro.
+
+if(NOT TARGET Qt::OpenGL)
+ return()
+endif()
+
+#####################################################################
+## tst_qglbuffer Test:
+#####################################################################
+
+add_qt_test(tst_qglbuffer
+ SOURCES
+ tst_qglbuffer.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::OpenGL
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:qglbuffer.pro:<TRUE>:
+# _REQUIREMENTS = "qtHaveModule(opengl)"
diff --git a/tests/auto/opengl/qglfunctions/CMakeLists.txt b/tests/auto/opengl/qglfunctions/CMakeLists.txt
new file mode 100644
index 0000000000..8eb344a8d6
--- /dev/null
+++ b/tests/auto/opengl/qglfunctions/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qglfunctions.pro.
+
+if(NOT TARGET Qt::OpenGL)
+ return()
+endif()
+
+#####################################################################
+## tst_qglfunctions Test:
+#####################################################################
+
+add_qt_test(tst_qglfunctions
+ SOURCES
+ tst_qglfunctions.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::OpenGL
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:qglfunctions.pro:<TRUE>:
+# _REQUIREMENTS = "qtHaveModule(opengl)"
diff --git a/tests/auto/opengl/qglthreads/CMakeLists.txt b/tests/auto/opengl/qglthreads/CMakeLists.txt
new file mode 100644
index 0000000000..b9c47e7ead
--- /dev/null
+++ b/tests/auto/opengl/qglthreads/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from qglthreads.pro.
+
+if(NOT TARGET Qt::OpenGL)
+ return()
+endif()
+
+#####################################################################
+## tst_qglthreads Test:
+#####################################################################
+
+add_qt_test(tst_qglthreads
+ SOURCES
+ tst_qglthreads.cpp tst_qglthreads.h
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::OpenGL
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:qglthreads.pro:<TRUE>:
+# _REQUIREMENTS = "qtHaveModule(opengl)"