summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/websockets/simplechat/CMakeLists.txt10
-rw-r--r--examples/websockets/simplechat/simplechat.pro2
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/websockets/simplechat/CMakeLists.txt b/examples/websockets/simplechat/CMakeLists.txt
index 349d70e..5a19270 100644
--- a/examples/websockets/simplechat/CMakeLists.txt
+++ b/examples/websockets/simplechat/CMakeLists.txt
@@ -1,7 +1,7 @@
# Generated from simplechat.pro.
cmake_minimum_required(VERSION 3.14)
-project(chatserver LANGUAGES CXX)
+project(simplechatserver LANGUAGES CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
@@ -17,19 +17,19 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/websockets/simplechat")
find_package(Qt6 COMPONENTS WebSockets)
-qt_add_executable(chatserver
+qt_add_executable(simplechatserver
chatserver.cpp chatserver.h
main.cpp
)
-set_target_properties(chatserver PROPERTIES
+set_target_properties(simplechatserver PROPERTIES
WIN32_EXECUTABLE FALSE
MACOSX_BUNDLE FALSE
)
-target_link_libraries(chatserver PUBLIC
+target_link_libraries(simplechatserver PUBLIC
Qt::WebSockets
)
-install(TARGETS chatserver
+install(TARGETS simplechatserver
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
diff --git a/examples/websockets/simplechat/simplechat.pro b/examples/websockets/simplechat/simplechat.pro
index 235ccc0..3c18709 100644
--- a/examples/websockets/simplechat/simplechat.pro
+++ b/examples/websockets/simplechat/simplechat.pro
@@ -1,6 +1,6 @@
QT = websockets
-TARGET = chatserver
+TARGET = simplechatserver
CONFIG += console
CONFIG -= app_bundle