diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 18:10:36 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-15 13:42:38 +0000 |
commit | 89fd0fb855e2ee33251c23929b0f09b546ef2466 (patch) | |
tree | d0f0ea88049a1de4fd07422109b6ff750cbca624 | |
parent | 5390aee65a7d2dd5729fa804f56271847ae0f644 (diff) | |
download | qtserialport-89fd0fb855e2ee33251c23929b0f09b546ef2466.tar.gz |
Switch examples to build as isolated sub-builds
Task-number: QTBUG-90820
Change-Id: Ie95b2215f84b705502570ba29c3f1a728beb7ce4
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 3d4c5c7d6a3c3dfb35d0efbef29f02ea241580a2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/serialport/CMakeLists.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/serialport/CMakeLists.txt b/examples/serialport/CMakeLists.txt index 8b903fa..2a850aa 100644 --- a/examples/serialport/CMakeLists.txt +++ b/examples/serialport/CMakeLists.txt @@ -1,13 +1,13 @@ -add_subdirectory(cenumerator) -add_subdirectory(creaderasync) -add_subdirectory(creadersync) -add_subdirectory(cwriterasync) -add_subdirectory(cwritersync) +qt_internal_add_example(cenumerator) +qt_internal_add_example(creaderasync) +qt_internal_add_example(creadersync) +qt_internal_add_example(cwriterasync) +qt_internal_add_example(cwritersync) if((((NOT QT.widgets.name_ISEMPTY)))) - add_subdirectory(enumerator) - add_subdirectory(terminal) - add_subdirectory(blockingsender) - add_subdirectory(blockingreceiver) - add_subdirectory(sender) - add_subdirectory(receiver) + qt_internal_add_example(enumerator) + qt_internal_add_example(terminal) + qt_internal_add_example(blockingsender) + qt_internal_add_example(blockingreceiver) + qt_internal_add_example(sender) + qt_internal_add_example(receiver) endif() |