summaryrefslogtreecommitdiffstats
path: root/examples/gui/analogclock
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 16:22:32 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-27 12:49:39 +0100
commit397b3725176780d8888f8499cac0127dbb7df2c7 (patch)
treeb7c38898d1a7d2a2278b010b034b9c605c785c50 /examples/gui/analogclock
parent65fe5b2ce22797389aa074ef2c30e873a3c38d48 (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/gui/analogclock')
-rw-r--r--examples/gui/analogclock/.prev_CMakeLists.txt4
-rw-r--r--examples/gui/analogclock/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/gui/analogclock/.prev_CMakeLists.txt b/examples/gui/analogclock/.prev_CMakeLists.txt
index 1a0a5fdf97..90c6091d68 100644
--- a/examples/gui/analogclock/.prev_CMakeLists.txt
+++ b/examples/gui/analogclock/.prev_CMakeLists.txt
@@ -22,6 +22,10 @@ qt_add_executable(analogclock
../rasterwindow/rasterwindow.cpp ../rasterwindow/rasterwindow.h
main.cpp
)
+set_target_properties(analogclock PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_include_directories(analogclock PUBLIC
../rasterwindow
)
diff --git a/examples/gui/analogclock/CMakeLists.txt b/examples/gui/analogclock/CMakeLists.txt
index 191facbc78..21a5fc239e 100644
--- a/examples/gui/analogclock/CMakeLists.txt
+++ b/examples/gui/analogclock/CMakeLists.txt
@@ -24,6 +24,10 @@ qt_add_executable(gui_analogclock # special case: renamed target
../rasterwindow/rasterwindow.cpp ../rasterwindow/rasterwindow.h
main.cpp
)
+set_target_properties(gui_analogclock PROPERTIES # special case
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_include_directories(gui_analogclock PUBLIC # special case
../rasterwindow
)