aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/language/testdata/modules/dummy/dummy.qbs
blob: 623abc413e7ab883afd7e564c4abe0e3eedb9325 (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
import "dummy_base.qbs" as DummyBase

DummyBase {
    condition: true

    additionalProductTypes: ["tag2"]

    property bool falseProperty: false
    property stringList defines
    property stringList cFlags
    property stringList cxxFlags
    property stringList rpaths: ["$ORIGIN"]
    property string someString
    property string productName: product.name
    property string upperCaseProductName: productName.toUpperCase()
    property string zort: "zort in dummy"
    property pathList includePaths
    property path somePath
    property stringList listProp: product.type.includes("blubb") ? ["123"] : ["456"]

    property bool controllingProp: false
    property stringList listProp2: controllingProp
                                   ? ["DEFAULT_STUFF", "EXTRA_STUFF"] : ["DEFAULT_STUFF"]
    property varList varListProp: [{a: controllingProp, b: someString}]
}