diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 17:48:44 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-15 13:35:31 +0000 |
commit | 85d597b1bb5836eca2718d6cea3b9f57268fa684 (patch) | |
tree | 06069843f382c7e2bfc9636a2941754fc1d69734 /examples | |
parent | 077fdc3020ba7382f9934f4a7f250b95254644dc (diff) |
Switch examples to build as isolated sub-builds
Task-number: QTBUG-90820
Change-Id: I975f67a1899363687092b25d936c874163c661ea
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 7611c48f0c7fbebb33ffa3741de2d6eeb0663217)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qt3d/CMakeLists.txt | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/examples/qt3d/CMakeLists.txt b/examples/qt3d/CMakeLists.txt index 8a34bbdc4..841e8de19 100644 --- a/examples/qt3d/CMakeLists.txt +++ b/examples/qt3d/CMakeLists.txt @@ -1,36 +1,36 @@ # Generated from qt3d.pro. -add_subdirectory(3d-text) -add_subdirectory(simple-cpp) +qt_internal_add_example(3d-text) +qt_internal_add_example(simple-cpp) if(TARGET Qt::Widgets) - add_subdirectory(basicshapes-cpp) + qt_internal_add_example(basicshapes-cpp) endif() if(TARGET Qt::QuickWidgets AND TARGET Qt::Widgets) - add_subdirectory(widgets-scene3d) + qt_internal_add_example(widgets-scene3d) endif() if(TARGET Qt::Quick) - add_subdirectory(advancedcustommaterial) - add_subdirectory(compute-particles) - add_subdirectory(controls) - add_subdirectory(controlsunderlay) - add_subdirectory(instanced-arrays-qml) - add_subdirectory(multiviewport) - add_subdirectory(planets-qml) -# add_subdirectory(scene2d) # Restore once Scene2D support has been ported to Qt6 - add_subdirectory(scene3d) - add_subdirectory(simple-qml) - add_subdirectory(simplecustommaterial) - add_subdirectory(wave) + qt_internal_add_example(advancedcustommaterial) + qt_internal_add_example(compute-particles) + qt_internal_add_example(controls) + qt_internal_add_example(controlsunderlay) + qt_internal_add_example(instanced-arrays-qml) + qt_internal_add_example(multiviewport) + qt_internal_add_example(planets-qml) +# qt_internal_add_example(scene2d) # Restore once Scene2D support has been ported to Qt6 + qt_internal_add_example(scene3d) + qt_internal_add_example(simple-qml) + qt_internal_add_example(simplecustommaterial) + qt_internal_add_example(wave) # these require qt6_add_big_resources but it's broken at this point QTBUG-85051 -# add_subdirectory(anaglyph-rendering) -# add_subdirectory(lights) -# add_subdirectory(pbr-materials) -# add_subdirectory(phong-cubes) -# add_subdirectory(qardboard) -# add_subdirectory(shadow-map-qml) -# add_subdirectory(wireframe) +# qt_internal_add_example(anaglyph-rendering) +# qt_internal_add_example(lights) +# qt_internal_add_example(pbr-materials) +# qt_internal_add_example(phong-cubes) +# qt_internal_add_example(qardboard) +# qt_internal_add_example(shadow-map-qml) +# qt_internal_add_example(wireframe) endif() if(TARGET Qt::Multimedia AND TARGET Qt::Quick) -# add_subdirectory(audio-visualizer-qml) +# qt_internal_add_example(audio-visualizer-qml) endif() |