summaryrefslogtreecommitdiff
path: root/examples/wayland/CMakeLists.txt
blob: 0c1486de5b5e42c7a04b3fb5f6f2ddb56ec14c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

if(QT_FEATURE_wayland_server)
if(QT_FEATURE_opengl)
    qt_internal_add_example(minimal-cpp)
endif()
if(TARGET Qt::Quick)
    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)
    add_subdirectory(custom-shell)
endif()
if(QT_FEATURE_opengl AND TARGET Qt::Quick AND TARGET Qt::WaylandClient)
    add_subdirectory(server-buffer)
endif()
endif()