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

    name: "My Project"
    minimumQbsVersion: "2.0"
    references: [
        "app/app.qbs",
        "lib/lib.qbs",
    ]
    qbsSearchPaths: "qbs"

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

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