summaryrefslogtreecommitdiffstats
path: root/src/src.pro
blob: e2f4124bdb66fd164d1529ee5d3ec63ce3ba1994 (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
TEMPLATE=subdirs
include($$OUT_PWD/client/qtwaylandclient-config.pri)
include($$OUT_PWD/compositor/qtwaylandcompositor-config.pri)
QT_FOR_CONFIG += waylandclient-private waylandcompositor-private

qtConfig(wayland-client)|qtConfig(wayland-server) {
    SUBDIRS += qtwaylandscanner

    qtConfig(wayland-client) {
        client.depends = qtwaylandscanner
        SUBDIRS += client
    }

    plugins.depends += qtwaylandscanner
    qtConfig(wayland-client):plugins.depends += client
    qtConfig(wayland-server):plugins.depends += compositor
    SUBDIRS += plugins

    qtConfig(wayland-server) {
        compositor.depends = qtwaylandscanner
        SUBDIRS += compositor
    }

    qtConfig(wayland-client):imports.depends += client
    qtConfig(wayland-server):imports.depends += compositor
    SUBDIRS += imports
}