diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 17:51:59 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-15 11:04:10 +0000 |
commit | fd0ede07d10f8a3c39fb0be5c9bea283220e6746 (patch) | |
tree | 1c943fb3cd17119de53ee4bff699844c13ec8a80 | |
parent | d00cbd95169ff5c80b3901b14a12d8eb1dfddbcf (diff) |
Switch examples to build as isolated sub-builds
Task-number: QTBUG-90820
Change-Id: I87f7bd37874499bbc6eafeea32e4eef030184e0c
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 579f2c7937ada28f3aa9cf0bad4a8e7f695c7fb3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/activeqt/CMakeLists.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/activeqt/CMakeLists.txt b/examples/activeqt/CMakeLists.txt index 62c0318..168dd37 100644 --- a/examples/activeqt/CMakeLists.txt +++ b/examples/activeqt/CMakeLists.txt @@ -1,19 +1,19 @@ # Generated from activeqt.pro. if(MSVC) - add_subdirectory(comapp) - add_subdirectory(hierarchy) - add_subdirectory(menus) - add_subdirectory(multiple) - add_subdirectory(simple) - add_subdirectory(wrapper) + qt_internal_add_example(comapp) + qt_internal_add_example(hierarchy) + qt_internal_add_example(menus) + qt_internal_add_example(multiple) + qt_internal_add_example(simple) + qt_internal_add_example(wrapper) if(TARGET Qt6::OpenGLWidgets AND QT_FEATURE_opengl AND NOT QT_FEATURE_opengles2) # special case - add_subdirectory(opengl) + qt_internal_add_example(opengl) endif() if(TARGET Qt::QuickControls2) - add_subdirectory(simpleqml) + qt_internal_add_example(simpleqml) endif() endif() if(MINGW OR QT_BUILD_SHARED_LIBS) - add_subdirectory(mediaplayer) + qt_internal_add_example(mediaplayer) endif() |