aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs/qbs.qbs
blob: 52c29e9b29271ae65975170c998246cf2dbaf352 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import qbs.Utilities

QbsApp {
    name: "qbs_app"
    targetName: "qbs"

    Depends { name: "qbs resources" }
    Depends { name: "qtclsp" }
    Depends { name: "Qt.network" }
    Depends {
        condition: Qt.core.staticBuild || qbsbuildconfig.staticBuild
        productTypes: ["qbsplugin"]
    }

    cpp.defines: base.concat([
        "QBS_VERSION=" + Utilities.cStringQuote(qbsversion.version),
        "QBS_RELATIVE_LIBEXEC_PATH=" + Utilities.cStringQuote(qbsbuildconfig.relativeLibexecPath),
        "QBS_RELATIVE_SEARCH_PATH=" + Utilities.cStringQuote(qbsbuildconfig.relativeSearchPath),
        "QBS_RELATIVE_PLUGINS_PATH=" + Utilities.cStringQuote(qbsbuildconfig.relativePluginsPath),
    ])
    files: [
        "application.cpp",
        "application.h",
        "commandlinefrontend.cpp",
        "commandlinefrontend.h",
        "consoleprogressobserver.cpp",
        "consoleprogressobserver.h",
        "ctrlchandler.cpp",
        "ctrlchandler.h",
        "main.cpp",
        "qbstool.cpp",
        "qbstool.h",
        "session.cpp",
        "session.h",
        "sessionpacket.cpp",
        "sessionpacket.h",
        "sessionpacketreader.cpp",
        "sessionpacketreader.h",
        "status.cpp",
        "status.h",
        "stdinreader.cpp",
        "stdinreader.h",
    ]
    Group {
        name: "parser"
        prefix: name + '/'
        files: [
            "commandlineoption.cpp",
            "commandlineoption.h",
            "commandlineoptionpool.cpp",
            "commandlineoptionpool.h",
            "commandlineparser.cpp",
            "commandlineparser.h",
            "commandpool.cpp",
            "commandpool.h",
            "commandtype.h",
            "parsercommand.cpp",
            "parsercommand.h",
        ]
    }
    Group {
        name: "lsp"
        cpp.defines: outer.filter(function(d) { return d !== "QT_NO_CAST_FROM_ASCII"; })
        files: [
            "lspserver.cpp",
            "lspserver.h",
        ]
    }
}