diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 18:19:12 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-15 11:06:41 +0100 |
commit | 8b0d5814b500545e71a0698c52dc48f5201b67fa (patch) | |
tree | 20f0c09dbc52117e054b340dc3d3776994c01c33 /examples | |
parent | 5f666db898c6a42d34fa016910c3ac0da4fcfc2a (diff) | |
download | qtwebsockets-8b0d5814b500545e71a0698c52dc48f5201b67fa.tar.gz |
Switch examples to build as isolated sub-builds
Pick-to: 6.2 6.3
Task-number: QTBUG-90820
Change-Id: Iac4cb61d45a9ca0d19ebc1f43bf281cb2dc52f10
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/websockets/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/websockets/CMakeLists.txt b/examples/websockets/CMakeLists.txt index 196d6a1..c608f0b 100644 --- a/examples/websockets/CMakeLists.txt +++ b/examples/websockets/CMakeLists.txt @@ -1,13 +1,13 @@ # Generated from websockets.pro. -add_subdirectory(echoclient) -add_subdirectory(echoserver) -add_subdirectory(simplechat) +qt_internal_add_example(echoclient) +qt_internal_add_example(echoserver) +qt_internal_add_example(simplechat) if(TARGET Qt::Quick) - add_subdirectory(qmlwebsocketclient) - add_subdirectory(qmlwebsocketserver) + qt_internal_add_example(qmlwebsocketclient) + qt_internal_add_example(qmlwebsocketserver) endif() if(QT_FEATURE_ssl) - add_subdirectory(sslechoserver) - add_subdirectory(sslechoclient) + qt_internal_add_example(sslechoserver) + qt_internal_add_example(sslechoclient) endif() |