diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-26 16:22:32 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-27 12:49:39 +0100 |
commit | 397b3725176780d8888f8499cac0127dbb7df2c7 (patch) | |
tree | b7c38898d1a7d2a2278b010b034b9c605c785c50 /examples/opengl | |
parent | 65fe5b2ce22797389aa074ef2c30e873a3c38d48 (diff) |
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary.
Task-number: QTBUG-87664
Task-number: QTBUG-86827
Change-Id: I7677449a26d51fa853bd67bab6b3b61afbd2b12f
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/opengl')
-rw-r--r-- | examples/opengl/2dpainting/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/computegles31/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/contextinfo/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/cube/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/hellogl2/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/hellogles3/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/hellowindow/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/openglwindow/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/paintedwindow/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/qopenglwidget/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/qopenglwindow/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/textures/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/opengl/threadedqopenglwidget/CMakeLists.txt | 4 |
13 files changed, 52 insertions, 0 deletions
diff --git a/examples/opengl/2dpainting/CMakeLists.txt b/examples/opengl/2dpainting/CMakeLists.txt index 675a254070..5978f6a283 100644 --- a/examples/opengl/2dpainting/CMakeLists.txt +++ b/examples/opengl/2dpainting/CMakeLists.txt @@ -28,6 +28,10 @@ qt_add_executable(2dpainting widget.cpp widget.h window.cpp window.h ) +set_target_properties(2dpainting PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(2dpainting PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/computegles31/CMakeLists.txt b/examples/opengl/computegles31/CMakeLists.txt index 1e9ac0ce1c..d86579d961 100644 --- a/examples/opengl/computegles31/CMakeLists.txt +++ b/examples/opengl/computegles31/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(computegles31 glwindow.cpp glwindow.h main.cpp ) +set_target_properties(computegles31 PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(computegles31 PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/contextinfo/CMakeLists.txt b/examples/opengl/contextinfo/CMakeLists.txt index 4e444ee60c..81daeedc5f 100644 --- a/examples/opengl/contextinfo/CMakeLists.txt +++ b/examples/opengl/contextinfo/CMakeLists.txt @@ -25,6 +25,10 @@ qt_add_executable(contextinfo renderwindow.cpp renderwindow.h widget.cpp widget.h ) +set_target_properties(contextinfo PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(contextinfo PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/cube/CMakeLists.txt b/examples/opengl/cube/CMakeLists.txt index cd247f01ce..da7db67ef9 100644 --- a/examples/opengl/cube/CMakeLists.txt +++ b/examples/opengl/cube/CMakeLists.txt @@ -26,6 +26,10 @@ qt_add_executable(cube main.cpp mainwidget.cpp mainwidget.h ) +set_target_properties(cube PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(cube PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/hellogl2/CMakeLists.txt b/examples/opengl/hellogl2/CMakeLists.txt index c5bbb54fc6..dcf66be4b9 100644 --- a/examples/opengl/hellogl2/CMakeLists.txt +++ b/examples/opengl/hellogl2/CMakeLists.txt @@ -28,6 +28,10 @@ qt_add_executable(hellogl2 mainwindow.cpp mainwindow.h window.cpp window.h ) +set_target_properties(hellogl2 PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(hellogl2 PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/hellogles3/CMakeLists.txt b/examples/opengl/hellogles3/CMakeLists.txt index a7c36e6419..b26dfe059f 100644 --- a/examples/opengl/hellogles3/CMakeLists.txt +++ b/examples/opengl/hellogles3/CMakeLists.txt @@ -24,6 +24,10 @@ qt_add_executable(hellogles3 glwindow.cpp glwindow.h main.cpp ) +set_target_properties(hellogles3 PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(hellogles3 PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/hellowindow/CMakeLists.txt b/examples/opengl/hellowindow/CMakeLists.txt index 293b46ec57..cd77a5b765 100644 --- a/examples/opengl/hellowindow/CMakeLists.txt +++ b/examples/opengl/hellowindow/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(hellowindow hellowindow.cpp hellowindow.h main.cpp ) +set_target_properties(hellowindow PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(hellowindow PUBLIC Qt::Core Qt::CorePrivate diff --git a/examples/opengl/openglwindow/CMakeLists.txt b/examples/opengl/openglwindow/CMakeLists.txt index 816aa87a4d..d0a825aafc 100644 --- a/examples/opengl/openglwindow/CMakeLists.txt +++ b/examples/opengl/openglwindow/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(openglwindow main.cpp openglwindow.cpp openglwindow.h ) +set_target_properties(openglwindow PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_include_directories(openglwindow PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ) diff --git a/examples/opengl/paintedwindow/CMakeLists.txt b/examples/opengl/paintedwindow/CMakeLists.txt index 2752ed40c0..496cc52b6f 100644 --- a/examples/opengl/paintedwindow/CMakeLists.txt +++ b/examples/opengl/paintedwindow/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(paintedwindow main.cpp paintedwindow.cpp paintedwindow.h ) +set_target_properties(paintedwindow PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(paintedwindow PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/qopenglwidget/CMakeLists.txt b/examples/opengl/qopenglwidget/CMakeLists.txt index 055ea904f5..c5ca16a33b 100644 --- a/examples/opengl/qopenglwidget/CMakeLists.txt +++ b/examples/opengl/qopenglwidget/CMakeLists.txt @@ -27,6 +27,10 @@ qt_add_executable(qopenglwidget main.cpp mainwindow.cpp mainwindow.h ) +set_target_properties(qopenglwidget PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(qopenglwidget PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/qopenglwindow/CMakeLists.txt b/examples/opengl/qopenglwindow/CMakeLists.txt index 969b9d7e0c..93909b516e 100644 --- a/examples/opengl/qopenglwindow/CMakeLists.txt +++ b/examples/opengl/qopenglwindow/CMakeLists.txt @@ -23,6 +23,10 @@ qt_add_executable(qopenglwindow background_renderer.cpp background_renderer.h main.cpp ) +set_target_properties(qopenglwindow PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_include_directories(qopenglwindow PUBLIC . ) diff --git a/examples/opengl/textures/CMakeLists.txt b/examples/opengl/textures/CMakeLists.txt index 502ac9cef1..64ae075ce0 100644 --- a/examples/opengl/textures/CMakeLists.txt +++ b/examples/opengl/textures/CMakeLists.txt @@ -26,6 +26,10 @@ qt_add_executable(textures main.cpp window.cpp window.h ) +set_target_properties(textures PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(textures PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/threadedqopenglwidget/CMakeLists.txt b/examples/opengl/threadedqopenglwidget/CMakeLists.txt index 60f121abf5..dc5bdb85c1 100644 --- a/examples/opengl/threadedqopenglwidget/CMakeLists.txt +++ b/examples/opengl/threadedqopenglwidget/CMakeLists.txt @@ -26,6 +26,10 @@ qt_add_executable(threadedqopenglwidget main.cpp mainwindow.cpp mainwindow.h ) +set_target_properties(threadedqopenglwidget PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(threadedqopenglwidget PUBLIC Qt::Core Qt::Gui |