summaryrefslogtreecommitdiffstats
path: root/src/buildtools/buildtools.pro
blob: bbf8bd6109559ee36bf9e75af5041b89c78199cf (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
TEMPLATE = subdirs

ninja.file = ninja.pro
SUBDIRS += ninja

use?(gn) {
    gn.file = gn.pro
    gn.depends = ninja
    SUBDIRS += gn
}

linux {
    # configure_host.pro and configure_target.pro are phony pro files that
    # extract things like compiler and linker from qmake.
    # Only used on Linux as it is only important for cross-building and alternative compilers.
    configure_host.file = configure_host.pro
    configure_target.file = configure_target.pro
    configure_target.depends = configure_host

    use?(gn) {
        gn.depends += configure_target
    }
    SUBDIRS += configure_host configure_target
}