From 641005128ef33075156effab6c960cf10dc8a79d Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 14 Dec 2021 17:56:59 +0100 Subject: Switch examples to build as isolated sub-builds Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: I3e7b6dfa84573f2ae07fe5be8540618d1a93f695 Reviewed-by: Alexey Edelev --- examples/demos/CMakeLists.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'examples') diff --git a/examples/demos/CMakeLists.txt b/examples/demos/CMakeLists.txt index 1893137d8..f128061da 100644 --- a/examples/demos/CMakeLists.txt +++ b/examples/demos/CMakeLists.txt @@ -1,22 +1,22 @@ # Generated from demos.pro. if(TARGET Qt::Quick) - add_subdirectory(samegame) - add_subdirectory(calqlatr) - add_subdirectory(clocks) - add_subdirectory(tweetsearch) - add_subdirectory(maroon) - add_subdirectory(photosurface) - add_subdirectory(stocqt) + qt_internal_add_example(samegame) + qt_internal_add_example(calqlatr) + qt_internal_add_example(clocks) + qt_internal_add_example(tweetsearch) + qt_internal_add_example(maroon) + qt_internal_add_example(photosurface) + qt_internal_add_example(stocqt) endif() if(TARGET Qt::Quick AND TARGET Qt::QuickControls2) - add_subdirectory(coffee) + qt_internal_add_example(coffee) if(ANDROID OR IOS) - add_subdirectory(hangman) + qt_internal_add_example(hangman) endif() endif() if(TARGET Qt::Quick AND TARGET Qt::Network AND TARGET Qt::QmlXmlListModel) - add_subdirectory(rssnews) - add_subdirectory(photoviewer) + qt_internal_add_example(rssnews) + qt_internal_add_example(photoviewer) endif() -- cgit v1.2.3