summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/xdgshell/CMakeLists.txt
blob: a680575caacb89c4d9bd86eb74f9942235c371fb (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
# Generated from xdgshell.pro.

#####################################################################
## tst_xdgshell Test:
#####################################################################

qt_add_test(tst_xdgshell
    SOURCES
        ../shared/corecompositor.cpp ../shared/corecompositor.h
        ../shared/coreprotocol.cpp ../shared/coreprotocol.h
        ../shared/datadevice.cpp ../shared/datadevice.h
        ../shared/mockcompositor.cpp ../shared/mockcompositor.h
        ../shared/textinput.cpp ../shared/textinput.h
        ../shared/xdgoutputv1.cpp ../shared/xdgoutputv1.h
        ../shared/xdgshell.cpp ../shared/xdgshell.h
        tst_xdgshell.cpp
    INCLUDE_DIRECTORIES
        ../shared
    PUBLIC_LIBRARIES
        Qt::Gui
        Qt::OpenGL
        Qt::WaylandClientPrivate
        Wayland::Server
        Threads::Threads # special case
)

qt6_generate_wayland_protocol_server_sources(tst_xdgshell
    FILES
        ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/text-input-unstable-v2.xml
        ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/wayland.xml
        ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-output-unstable-v1.xml
        ${CMAKE_CURRENT_SOURCE_DIR}/../shared/../../../../src/3rdparty/protocol/xdg-shell.xml
)