aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/chapter-9/myproject.qbs
blob: fac217b71b2050ecebd988dd6428a232cc3bc600 (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
Project {
    property string version: "1.0.0"
    property bool withTests: true
    property bool installDebugInformation: true
    property stringList autotestArguments: []
    property stringList autotestWrapper: []

    name: "My Project"
    minimumQbsVersion: "2.0"
    //! [0]
    // myproject.qbs
    references: [
        "app/app.qbs",
        "lib/lib.qbs",
        "version-header/version-header.qbs",
    ]
    //! [0]
    qbsSearchPaths: "qbs"

    SubProject {
        filePath: "test/test.qbs"
        Properties {
            condition: parent.withTests
        }
    }

    AutotestRunner {
        condition: parent.withTests
        arguments: parent.autotestArguments
        wrapper: parent.autotestWrapper
    }
}