summaryrefslogtreecommitdiffstats
path: root/examples/demos
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 17:28:09 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 21:19:52 +0100
commit07b7d54679a361c377abb6a89f2cc4d2a8ae36ec (patch)
tree81def71ac0ab148e2bed4e21db947c6dbfe8ed42 /examples/demos
parent01b88573eb4df718202d26fe3d61b8306a8b14de (diff)
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary. Task-number: QTBUG-87664 Change-Id: I474b13a0a78a33fff1d06b283a88b0c33a7dd524 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/demos')
-rw-r--r--examples/demos/calqlatr/CMakeLists.txt4
-rw-r--r--examples/demos/clocks/CMakeLists.txt4
-rw-r--r--examples/demos/coffee/CMakeLists.txt4
-rw-r--r--examples/demos/maroon/CMakeLists.txt4
-rw-r--r--examples/demos/photoviewer/CMakeLists.txt4
-rw-r--r--examples/demos/rssnews/CMakeLists.txt4
-rw-r--r--examples/demos/samegame/CMakeLists.txt4
-rw-r--r--examples/demos/stocqt/CMakeLists.txt4
-rw-r--r--examples/demos/tweetsearch/CMakeLists.txt4
9 files changed, 36 insertions, 0 deletions
diff --git a/examples/demos/calqlatr/CMakeLists.txt b/examples/demos/calqlatr/CMakeLists.txt
index 1090cf1ce..ae1299a05 100644
--- a/examples/demos/calqlatr/CMakeLists.txt
+++ b/examples/demos/calqlatr/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick)
qt_add_executable(calqlatr
main.cpp
)
+set_target_properties(calqlatr PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(calqlatr PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/demos/clocks/CMakeLists.txt b/examples/demos/clocks/CMakeLists.txt
index d449f510e..e3eff1786 100644
--- a/examples/demos/clocks/CMakeLists.txt
+++ b/examples/demos/clocks/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick)
qt_add_executable(clocks
main.cpp
)
+set_target_properties(clocks PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(clocks PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/demos/coffee/CMakeLists.txt b/examples/demos/coffee/CMakeLists.txt
index 2cb849968..6649b79bc 100644
--- a/examples/demos/coffee/CMakeLists.txt
+++ b/examples/demos/coffee/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick)
qt_add_executable(coffee
main.cpp
)
+set_target_properties(coffee PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_compile_definitions(coffee PUBLIC
QT_DEPRECATED_WARNINGS
)
diff --git a/examples/demos/maroon/CMakeLists.txt b/examples/demos/maroon/CMakeLists.txt
index d77eecb7a..dd8d8535b 100644
--- a/examples/demos/maroon/CMakeLists.txt
+++ b/examples/demos/maroon/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick)
qt_add_executable(maroon
main.cpp
)
+set_target_properties(maroon PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(maroon PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/demos/photoviewer/CMakeLists.txt b/examples/demos/photoviewer/CMakeLists.txt
index 22a61801b..993cb2cdc 100644
--- a/examples/demos/photoviewer/CMakeLists.txt
+++ b/examples/demos/photoviewer/CMakeLists.txt
@@ -24,6 +24,10 @@ find_package(Qt6 COMPONENTS XmlPatterns)
qt_add_executable(photoviewer
main.cpp
)
+set_target_properties(photoviewer PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(photoviewer PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/demos/rssnews/CMakeLists.txt b/examples/demos/rssnews/CMakeLists.txt
index fe3f5a8cb..a6b5f5ef1 100644
--- a/examples/demos/rssnews/CMakeLists.txt
+++ b/examples/demos/rssnews/CMakeLists.txt
@@ -25,6 +25,10 @@ find_package(Qt6 COMPONENTS XmlPatterns)
qt_add_executable(rssnews
main.cpp
)
+set_target_properties(rssnews PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(rssnews PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/demos/samegame/CMakeLists.txt b/examples/demos/samegame/CMakeLists.txt
index 145ba0845..4c102b94a 100644
--- a/examples/demos/samegame/CMakeLists.txt
+++ b/examples/demos/samegame/CMakeLists.txt
@@ -24,6 +24,10 @@ find_package(Qt6 COMPONENTS Sql)
qt_add_executable(samegame
main.cpp
)
+set_target_properties(samegame PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(samegame PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/demos/stocqt/CMakeLists.txt b/examples/demos/stocqt/CMakeLists.txt
index 36bcceab1..bcb645eae 100644
--- a/examples/demos/stocqt/CMakeLists.txt
+++ b/examples/demos/stocqt/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Quick)
qt_add_executable(stocqt
main.cpp
)
+set_target_properties(stocqt PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(stocqt PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/demos/tweetsearch/CMakeLists.txt b/examples/demos/tweetsearch/CMakeLists.txt
index d09d7dca0..7ba34ee84 100644
--- a/examples/demos/tweetsearch/CMakeLists.txt
+++ b/examples/demos/tweetsearch/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS Qml)
qt_add_executable(tweetsearch
main.cpp
)
+set_target_properties(tweetsearch PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(tweetsearch PUBLIC
Qt::Core
Qt::Gui