summaryrefslogtreecommitdiffstats
path: root/src/plugins/hardwareintegration/compositor/xcomposite-glx/CMakeLists.txt
blob: b625c22b72dec8b6567d50acf13429dcd3b6d3ae (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
28
29
30
31
32
33
34
35
36
37
38
39
# Generated from xcomposite-glx.pro.

#####################################################################
## QWaylandXCompositeGlxClientBufferIntegrationPlugin Plugin:
#####################################################################

qt_add_plugin(QWaylandXCompositeGlxClientBufferIntegrationPlugin
    OUTPUT_NAME qt-wayland-compositor-xcomposite-glx
    TYPE wayland-graphics-integration-server
    SOURCES
        ../../../../hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.cpp ../../../../hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h
        ../../../../hardwareintegration/compositor/xcomposite_share/xcompositebuffer.cpp ../../../../hardwareintegration/compositor/xcomposite_share/xcompositebuffer.h
        ../../../../hardwareintegration/compositor/xcomposite_share/xcompositehandler.cpp ../../../../hardwareintegration/compositor/xcomposite_share/xcompositehandler.h
        ../../../../hardwareintegration/compositor/xcomposite_share/xlibinclude.h
        main.cpp
    INCLUDE_DIRECTORIES
        ../../../../hardwareintegration/compositor/xcomposite-glx
        ../../../../hardwareintegration/compositor/xcomposite_share
    LIBRARIES
        Qt::GlxSupportPrivate # special case
        Wayland::Server
    PUBLIC_LIBRARIES
        PkgConfig::XComposite
        Qt::Core
        Qt::CorePrivate
        Qt::Gui
        Qt::GuiPrivate
        Qt::WaylandCompositor
        Qt::WaylandCompositorPrivate
)

qt6_generate_wayland_protocol_server_sources(QWaylandXCompositeGlxClientBufferIntegrationPlugin
    FILES
        ${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/compositor/xcomposite_share/../../../3rdparty/protocol/wayland.xml
        ${CMAKE_CURRENT_SOURCE_DIR}/../../../../hardwareintegration/compositor/xcomposite_share/../../../extensions/xcomposite.xml
)

#### Keys ignored in scope 1:.:.:xcomposite-glx.pro:<TRUE>:
# OTHER_FILES = "xcomposite-glx.json"