diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 17:53:50 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-15 12:54:41 +0100 |
commit | 0d9dc44fef5dcad6daf574bc81ac7b1ae5743c82 (patch) | |
tree | 6da9ac99889b52d647518e783a1561f2cd49320a /examples | |
parent | 07ea79b92b59f5bb2d644a6f690032b6c54f7641 (diff) |
Switch examples to build as isolated sub-builds
Pick-to: 6.2 6.3
Task-number: QTBUG-90820
Change-Id: Ife7b112e7a800460740f21a69d2ac85133bf0827
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bluetooth/CMakeLists.txt | 12 | ||||
-rw-r--r-- | examples/nfc/CMakeLists.txt | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/examples/bluetooth/CMakeLists.txt b/examples/bluetooth/CMakeLists.txt index 276a258d..3034f659 100644 --- a/examples/bluetooth/CMakeLists.txt +++ b/examples/bluetooth/CMakeLists.txt @@ -1,10 +1,10 @@ -add_subdirectory(heartrate-server) +qt_internal_add_example(heartrate-server) if(TARGET Qt::Widgets) - add_subdirectory(btchat) - add_subdirectory(btscanner) + qt_internal_add_example(btchat) + qt_internal_add_example(btscanner) endif() if(TARGET Qt::Quick) - add_subdirectory(pingpong) - add_subdirectory(lowenergyscanner) - add_subdirectory(heartrate-game) + qt_internal_add_example(pingpong) + qt_internal_add_example(lowenergyscanner) + qt_internal_add_example(heartrate-game) endif() diff --git a/examples/nfc/CMakeLists.txt b/examples/nfc/CMakeLists.txt index f8fd3ffb..46b9a082 100644 --- a/examples/nfc/CMakeLists.txt +++ b/examples/nfc/CMakeLists.txt @@ -1,4 +1,4 @@ if(TARGET Qt::Widgets) - add_subdirectory(annotatedurl) - add_subdirectory(ndefeditor) + qt_internal_add_example(annotatedurl) + qt_internal_add_example(ndefeditor) endif() |