diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 18:08:55 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-15 11:52:52 +0000 |
commit | 5a6072463aedf7c2fda6bd6d1d9e201f6475bd60 (patch) | |
tree | d75d652befa7c0bd41d7131470ca29a516f4bc65 | |
parent | ea901879d256df2a1c4f4da82077a7557d22139d (diff) | |
download | qtsensors-5a6072463aedf7c2fda6bd6d1d9e201f6475bd60.tar.gz |
Switch examples to build as isolated sub-builds
Task-number: QTBUG-90820
Change-Id: Idd7a5cc4829d21e710fc6e3f39d1c578600e9164
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 1b0aa9069542b26856fad94fe6553cc40aacf317)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/sensors/CMakeLists.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/sensors/CMakeLists.txt b/examples/sensors/CMakeLists.txt index 7fe6c4e..6a71bfa 100644 --- a/examples/sensors/CMakeLists.txt +++ b/examples/sensors/CMakeLists.txt @@ -1,15 +1,15 @@ if(TARGET Qt::Quick) - add_subdirectory(grue) - add_subdirectory(maze) -# add_subdirectory(qmlsensorgestures) - add_subdirectory(qmlqtsensors) - add_subdirectory(sensor_explorer) -# add_subdirectory(shakeit) + qt_internal_add_example(grue) + qt_internal_add_example(maze) +# qt_internal_add_example(qmlsensorgestures) + qt_internal_add_example(qmlqtsensors) + qt_internal_add_example(sensor_explorer) +# qt_internal_add_example(shakeit) if(TARGET Qt::Svg) - add_subdirectory(accelbubble) - add_subdirectory(sensorsshowcase) + qt_internal_add_example(accelbubble) + qt_internal_add_example(sensorsshowcase) endif() endif() # if(TARGET Qt::Widgets) -# add_subdirectory(sensorgestures) +# qt_internal_add_example(sensorgestures) # endif() |