diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-16 11:55:24 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-19 11:51:47 +0200 |
commit | 2ffbac7cb2f16ab350d203a12a86535772d1c578 (patch) | |
tree | 6c75c04df8ddfdf9c466647858538ea9fa3b925b /examples/opengl | |
parent | c3fee0d984e59cee3ab6d069011015dd850be98f (diff) |
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661
Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/opengl')
-rw-r--r-- | examples/opengl/2dpainting/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/computegles31/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/contextinfo/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/cube/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/hellogl2/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/hellogles3/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/hellowindow/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/openglwindow/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/paintedwindow/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/qopenglwidget/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/qopenglwindow/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/textures/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/opengl/threadedqopenglwidget/CMakeLists.txt | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/examples/opengl/2dpainting/CMakeLists.txt b/examples/opengl/2dpainting/CMakeLists.txt index c8192dc5ed..675a254070 100644 --- a/examples/opengl/2dpainting/CMakeLists.txt +++ b/examples/opengl/2dpainting/CMakeLists.txt @@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS OpenGL) find_package(Qt6 COMPONENTS OpenGLWidgets) -add_qt_gui_executable(2dpainting +qt_add_executable(2dpainting glwidget.cpp glwidget.h helper.cpp helper.h main.cpp diff --git a/examples/opengl/computegles31/CMakeLists.txt b/examples/opengl/computegles31/CMakeLists.txt index 5960b349d4..1e9ac0ce1c 100644 --- a/examples/opengl/computegles31/CMakeLists.txt +++ b/examples/opengl/computegles31/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS OpenGL) -add_qt_gui_executable(computegles31 +qt_add_executable(computegles31 glwindow.cpp glwindow.h main.cpp ) diff --git a/examples/opengl/contextinfo/CMakeLists.txt b/examples/opengl/contextinfo/CMakeLists.txt index d3c31c856e..4e444ee60c 100644 --- a/examples/opengl/contextinfo/CMakeLists.txt +++ b/examples/opengl/contextinfo/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS OpenGL) -add_qt_gui_executable(contextinfo +qt_add_executable(contextinfo main.cpp renderwindow.cpp renderwindow.h widget.cpp widget.h diff --git a/examples/opengl/cube/CMakeLists.txt b/examples/opengl/cube/CMakeLists.txt index 29b8f1ff56..cd247f01ce 100644 --- a/examples/opengl/cube/CMakeLists.txt +++ b/examples/opengl/cube/CMakeLists.txt @@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS OpenGL) find_package(Qt6 COMPONENTS OpenGLWidgets) -add_qt_gui_executable(cube +qt_add_executable(cube geometryengine.cpp geometryengine.h main.cpp mainwidget.cpp mainwidget.h diff --git a/examples/opengl/hellogl2/CMakeLists.txt b/examples/opengl/hellogl2/CMakeLists.txt index 2647d5c364..c5bbb54fc6 100644 --- a/examples/opengl/hellogl2/CMakeLists.txt +++ b/examples/opengl/hellogl2/CMakeLists.txt @@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS OpenGL) find_package(Qt6 COMPONENTS OpenGLWidgets) -add_qt_gui_executable(hellogl2 +qt_add_executable(hellogl2 glwidget.cpp glwidget.h logo.cpp logo.h main.cpp diff --git a/examples/opengl/hellogles3/CMakeLists.txt b/examples/opengl/hellogles3/CMakeLists.txt index 7595e9116a..a7c36e6419 100644 --- a/examples/opengl/hellogles3/CMakeLists.txt +++ b/examples/opengl/hellogles3/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS OpenGL) -add_qt_gui_executable(hellogles3 +qt_add_executable(hellogles3 ../hellogl2/logo.cpp ../hellogl2/logo.h glwindow.cpp glwindow.h main.cpp diff --git a/examples/opengl/hellowindow/CMakeLists.txt b/examples/opengl/hellowindow/CMakeLists.txt index 83cd5cb758..293b46ec57 100644 --- a/examples/opengl/hellowindow/CMakeLists.txt +++ b/examples/opengl/hellowindow/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS OpenGL) -add_qt_gui_executable(hellowindow +qt_add_executable(hellowindow hellowindow.cpp hellowindow.h main.cpp ) diff --git a/examples/opengl/openglwindow/CMakeLists.txt b/examples/opengl/openglwindow/CMakeLists.txt index bebdf0c195..816aa87a4d 100644 --- a/examples/opengl/openglwindow/CMakeLists.txt +++ b/examples/opengl/openglwindow/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS OpenGL) -add_qt_gui_executable(openglwindow +qt_add_executable(openglwindow main.cpp openglwindow.cpp openglwindow.h ) diff --git a/examples/opengl/paintedwindow/CMakeLists.txt b/examples/opengl/paintedwindow/CMakeLists.txt index 047174fb9e..2752ed40c0 100644 --- a/examples/opengl/paintedwindow/CMakeLists.txt +++ b/examples/opengl/paintedwindow/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS OpenGL) -add_qt_gui_executable(paintedwindow +qt_add_executable(paintedwindow main.cpp paintedwindow.cpp paintedwindow.h ) diff --git a/examples/opengl/qopenglwidget/CMakeLists.txt b/examples/opengl/qopenglwidget/CMakeLists.txt index c42251e4f2..055ea904f5 100644 --- a/examples/opengl/qopenglwidget/CMakeLists.txt +++ b/examples/opengl/qopenglwidget/CMakeLists.txt @@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS OpenGL) find_package(Qt6 COMPONENTS OpenGLWidgets) -add_qt_gui_executable(qopenglwidget +qt_add_executable(qopenglwidget bubble.cpp bubble.h glwidget.cpp glwidget.h main.cpp diff --git a/examples/opengl/qopenglwindow/CMakeLists.txt b/examples/opengl/qopenglwindow/CMakeLists.txt index c3fcfb855d..969b9d7e0c 100644 --- a/examples/opengl/qopenglwindow/CMakeLists.txt +++ b/examples/opengl/qopenglwindow/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS OpenGL) -add_qt_gui_executable(qopenglwindow +qt_add_executable(qopenglwindow background_renderer.cpp background_renderer.h main.cpp ) diff --git a/examples/opengl/textures/CMakeLists.txt b/examples/opengl/textures/CMakeLists.txt index 0fcbffb524..502ac9cef1 100644 --- a/examples/opengl/textures/CMakeLists.txt +++ b/examples/opengl/textures/CMakeLists.txt @@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS OpenGL) find_package(Qt6 COMPONENTS OpenGLWidgets) -add_qt_gui_executable(textures +qt_add_executable(textures glwidget.cpp glwidget.h main.cpp window.cpp window.h diff --git a/examples/opengl/threadedqopenglwidget/CMakeLists.txt b/examples/opengl/threadedqopenglwidget/CMakeLists.txt index 4a03def63c..60f121abf5 100644 --- a/examples/opengl/threadedqopenglwidget/CMakeLists.txt +++ b/examples/opengl/threadedqopenglwidget/CMakeLists.txt @@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS OpenGL) find_package(Qt6 COMPONENTS OpenGLWidgets) -add_qt_gui_executable(threadedqopenglwidget +qt_add_executable(threadedqopenglwidget glwidget.cpp glwidget.h main.cpp mainwindow.cpp mainwindow.h |