summaryrefslogtreecommitdiff
path: root/src/src.pro
blob: 4ecbc71b9179fe9d5b70a197abbef29befcb05c5 (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
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) {
    sub_qtwaylandscanner.subdir = qtwaylandscanner
    sub_qtwaylandscanner.target = sub-qtwaylandscanner
    SUBDIRS += sub_qtwaylandscanner

    sub_client.subdir = client
    sub_client.depends = sub-qtwaylandscanner
    sub_client.target = sub-client
    SUBDIRS += sub_client

    qtConfig(wayland-server) {
        sub_compositor.subdir = compositor
        sub_compositor.depends = sub-qtwaylandscanner
        sub_compositor.target = sub-compositor
        SUBDIRS += sub_compositor

        sub_imports.subdir = imports
        sub_imports.depends += sub-compositor
        sub_imports.target = sub-imports
        SUBDIRS += sub_imports

        sub_plugins.subdir = plugins
        sub_plugins.depends = sub-qtwaylandscanner sub-client sub-compositor
        sub_plugins.target = sub-plugins
        SUBDIRS += sub_plugins
    }
}