summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-12-14 18:18:50 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-12-15 11:06:46 +0100
commit7fd5d81261b195de475b436689a59e047bbd73ce (patch)
treefadf88313f8ac4a36c5cb806e851c4463b8d2bf7 /examples
parentb4bf8f5e043120341cd9caa59f25a2beecd94ad0 (diff)
downloadqtwebchannel-7fd5d81261b195de475b436689a59e047bbd73ce.tar.gz
Switch examples to build as isolated sub-builds
Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: If6e6713058cfd4f7940e99261eca658ddb604b36 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples')
-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()