summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-12-14 17:56:59 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-12-15 11:09:19 +0100
commit641005128ef33075156effab6c960cf10dc8a79d (patch)
tree9da417e5c762bbba36eb2fb0e6fa0f18ac8a3eb4 /examples
parent3e8d89929f3d05b326c2788899675711efbf45f5 (diff)
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 <alexey.edelev@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/demos/CMakeLists.txt22
1 files changed, 11 insertions, 11 deletions
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()