summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-12-14 18:18:50 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-12-15 11:57:53 +0000
commitfce1b745058f88f1539bb12a7e4cb6cb5dfa82fc (patch)
treea50658dede65bd675bfa99eacfdaaa474ac41471
parent9a7f69fe2e98497937452ce54b364e563e10f54b (diff)
downloadqtwebchannel-fce1b745058f88f1539bb12a7e4cb6cb5dfa82fc.tar.gz
Switch examples to build as isolated sub-builds
Task-number: QTBUG-90820 Change-Id: If6e6713058cfd4f7940e99261eca658ddb604b36 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 7fd5d81261b195de475b436689a59e047bbd73ce) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/webchannel/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/webchannel/CMakeLists.txt b/examples/webchannel/CMakeLists.txt
index 78c2fb6..5a6eb04 100644
--- a/examples/webchannel/CMakeLists.txt
+++ b/examples/webchannel/CMakeLists.txt
@@ -2,17 +2,17 @@
# special case begin
# These are all TEMPLATE = aux
-#add_subdirectory(nodejs)
-#add_subdirectory(qwclient)
-#add_subdirectory(chatclient-html)
+#qt_internal_add_example(nodejs)
+#qt_internal_add_example(qwclient)
+#qt_internal_add_example(chatclient-html)
# special case end
if(TARGET Qt::WebSockets)
- add_subdirectory(chatserver-cpp)
+ qt_internal_add_example(chatserver-cpp)
# special case begin
# This one is TEMPLATE = aux too
- #add_subdirectory(chatclient-qml)
+ #qt_internal_add_example(chatclient-qml)
# special case end
endif()
if(TARGET Qt::WebSockets AND TARGET Qt::Widgets)
- add_subdirectory(standalone)
+ qt_internal_add_example(standalone)
endif()