diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-14 18:18:18 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-15 11:06:52 +0100 |
commit | c255039924bf1a10716b83deaf2757752d0cae0b (patch) | |
tree | 06bf19542976a2988483545ebf55f52c443297d7 /examples | |
parent | fc91cd6b1306c6d452cbddab3c2289ccb92218d6 (diff) | |
download | qtwayland-c255039924bf1a10716b83deaf2757752d0cae0b.tar.gz |
Switch examples to build as isolated sub-builds
Pick-to: 6.2 6.3
Task-number: QTBUG-90820
Change-Id: I4906db476df58ba248f415ef150551a88b942379
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/wayland/CMakeLists.txt | 22 | ||||
-rw-r--r-- | examples/wayland/custom-extension/CMakeLists.txt | 6 | ||||
-rw-r--r-- | examples/wayland/custom-shell/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/wayland/server-buffer/CMakeLists.txt | 4 |
4 files changed, 18 insertions, 18 deletions
diff --git a/examples/wayland/CMakeLists.txt b/examples/wayland/CMakeLists.txt index 1bc36387..c4553bdb 100644 --- a/examples/wayland/CMakeLists.txt +++ b/examples/wayland/CMakeLists.txt @@ -2,19 +2,19 @@ if(QT_FEATURE_wayland_server) # special case if(QT_FEATURE_opengl) - add_subdirectory(minimal-cpp) + qt_internal_add_example(minimal-cpp) endif() if(TARGET Qt::Quick) - add_subdirectory(minimal-qml) - add_subdirectory(spanning-screens) - add_subdirectory(pure-qml) - add_subdirectory(multi-output) - add_subdirectory(multi-screen) - add_subdirectory(overview-compositor) - add_subdirectory(ivi-compositor) - add_subdirectory(server-side-decoration) - add_subdirectory(hwlayer-compositor) - add_subdirectory(qtshell) + qt_internal_add_example(minimal-qml) + qt_internal_add_example(spanning-screens) + qt_internal_add_example(pure-qml) + qt_internal_add_example(multi-output) + qt_internal_add_example(multi-screen) + qt_internal_add_example(overview-compositor) + qt_internal_add_example(ivi-compositor) + qt_internal_add_example(server-side-decoration) + qt_internal_add_example(hwlayer-compositor) + qt_internal_add_example(qtshell) endif() if(TARGET Qt::Quick AND TARGET Qt::WaylandClient) add_subdirectory(custom-extension) diff --git a/examples/wayland/custom-extension/CMakeLists.txt b/examples/wayland/custom-extension/CMakeLists.txt index 408a9174..bdf9e124 100644 --- a/examples/wayland/custom-extension/CMakeLists.txt +++ b/examples/wayland/custom-extension/CMakeLists.txt @@ -1,5 +1,5 @@ # Generated from custom-extension.pro. -add_subdirectory(qml-client) -add_subdirectory(compositor) -add_subdirectory(cpp-client) +qt_internal_add_example(qml-client) +qt_internal_add_example(compositor) +qt_internal_add_example(cpp-client) diff --git a/examples/wayland/custom-shell/CMakeLists.txt b/examples/wayland/custom-shell/CMakeLists.txt index 1d12b07b..7158582e 100644 --- a/examples/wayland/custom-shell/CMakeLists.txt +++ b/examples/wayland/custom-shell/CMakeLists.txt @@ -1,2 +1,2 @@ -add_subdirectory(client-plugin) -add_subdirectory(compositor) +qt_internal_add_example(client-plugin) +qt_internal_add_example(compositor) diff --git a/examples/wayland/server-buffer/CMakeLists.txt b/examples/wayland/server-buffer/CMakeLists.txt index ad411511..751ebc0f 100644 --- a/examples/wayland/server-buffer/CMakeLists.txt +++ b/examples/wayland/server-buffer/CMakeLists.txt @@ -1,4 +1,4 @@ # Generated from server-buffer.pro. -add_subdirectory(cpp-client) -add_subdirectory(compositor) +qt_internal_add_example(cpp-client) +qt_internal_add_example(compositor) |