summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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
)