summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-26 17:39:15 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-12-10 18:23:10 +0100
commit297916ecc50fa9b1c3afe7d8c799481d424133c7 (patch)
treebb47ca1f5d8cbfec056ae573acc0ad7ebc71a46a /examples
parent8c66fb463ce3091015b17ffb1418c574f1ebef85 (diff)
downloadqtwebsockets-297916ecc50fa9b1c3afe7d8c799481d424133c7.tar.gz
CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary. Task-number: QTBUG-87664 Change-Id: I75fa3596c08b5246a61572f31dc0b6ff1ccb8b2a Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/websockets/echoclient/CMakeLists.txt4
-rw-r--r--examples/websockets/echoserver/CMakeLists.txt4
-rw-r--r--examples/websockets/qmlwebsocketclient/CMakeLists.txt4
-rw-r--r--examples/websockets/qmlwebsocketserver/CMakeLists.txt4
-rw-r--r--examples/websockets/simplechat/CMakeLists.txt4
-rw-r--r--examples/websockets/sslechoclient/CMakeLists.txt4
-rw-r--r--examples/websockets/sslechoserver/CMakeLists.txt4
7 files changed, 28 insertions, 0 deletions
diff --git a/examples/websockets/echoclient/CMakeLists.txt b/examples/websockets/echoclient/CMakeLists.txt
index b87dd0a..d22748d 100644
--- a/examples/websockets/echoclient/CMakeLists.txt
+++ b/examples/websockets/echoclient/CMakeLists.txt
@@ -22,6 +22,10 @@ qt_add_executable(echoclient
echoclient.cpp echoclient.h
main.cpp
)
+set_target_properties(echoclient PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(echoclient PUBLIC
Qt::Core
Qt::WebSockets
diff --git a/examples/websockets/echoserver/CMakeLists.txt b/examples/websockets/echoserver/CMakeLists.txt
index 892303f..26ec596 100644
--- a/examples/websockets/echoserver/CMakeLists.txt
+++ b/examples/websockets/echoserver/CMakeLists.txt
@@ -21,6 +21,10 @@ qt_add_executable(echoserver
echoserver.cpp echoserver.h
main.cpp
)
+set_target_properties(echoserver PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(echoserver PUBLIC
Qt::WebSockets
)
diff --git a/examples/websockets/qmlwebsocketclient/CMakeLists.txt b/examples/websockets/qmlwebsocketclient/CMakeLists.txt
index a920c4a..d1b8ff0 100644
--- a/examples/websockets/qmlwebsocketclient/CMakeLists.txt
+++ b/examples/websockets/qmlwebsocketclient/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS WebSockets)
qt_add_executable(qmlwebsocketclient
main.cpp
)
+set_target_properties(qmlwebsocketclient PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(qmlwebsocketclient PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/websockets/qmlwebsocketserver/CMakeLists.txt b/examples/websockets/qmlwebsocketserver/CMakeLists.txt
index 665e931..26973ff 100644
--- a/examples/websockets/qmlwebsocketserver/CMakeLists.txt
+++ b/examples/websockets/qmlwebsocketserver/CMakeLists.txt
@@ -23,6 +23,10 @@ find_package(Qt6 COMPONENTS WebSockets)
qt_add_executable(qmlwebsocketserver
main.cpp
)
+set_target_properties(qmlwebsocketserver PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(qmlwebsocketserver PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/websockets/simplechat/CMakeLists.txt b/examples/websockets/simplechat/CMakeLists.txt
index 6b67fd6..349d70e 100644
--- a/examples/websockets/simplechat/CMakeLists.txt
+++ b/examples/websockets/simplechat/CMakeLists.txt
@@ -21,6 +21,10 @@ qt_add_executable(chatserver
chatserver.cpp chatserver.h
main.cpp
)
+set_target_properties(chatserver PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(chatserver PUBLIC
Qt::WebSockets
)
diff --git a/examples/websockets/sslechoclient/CMakeLists.txt b/examples/websockets/sslechoclient/CMakeLists.txt
index 0e56e90..3ee924f 100644
--- a/examples/websockets/sslechoclient/CMakeLists.txt
+++ b/examples/websockets/sslechoclient/CMakeLists.txt
@@ -21,6 +21,10 @@ qt_add_executable(sslechoclient
main.cpp
sslechoclient.cpp sslechoclient.h
)
+set_target_properties(sslechoclient PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(sslechoclient PUBLIC
Qt::WebSockets
)
diff --git a/examples/websockets/sslechoserver/CMakeLists.txt b/examples/websockets/sslechoserver/CMakeLists.txt
index 097768c..7813674 100644
--- a/examples/websockets/sslechoserver/CMakeLists.txt
+++ b/examples/websockets/sslechoserver/CMakeLists.txt
@@ -21,6 +21,10 @@ qt_add_executable(sslechoserver
main.cpp
sslechoserver.cpp sslechoserver.h
)
+set_target_properties(sslechoserver PROPERTIES
+ WIN32_EXECUTABLE FALSE
+ MACOSX_BUNDLE FALSE
+)
target_link_libraries(sslechoserver PUBLIC
Qt::WebSockets
)