summaryrefslogtreecommitdiff
path: root/tests/auto/api/testdata/properties-blocks/properties-blocks.qbs
blob: dda4652d2aa21eff3bec3ccad1171a77aa61c0f7 (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
Product {
    Depends { name: 'cpp' }

    Properties {
        condition: true
        type: 'application'
        consoleApplication: true
        name: 'HelloWorld'
    }

    Properties {
        condition: name == 'HelloWorld'
        cpp.defines: ['DEFINE_IN_PROPERTIES']
    }

    Properties {
        condition: qbs.targetOS.contains("weird")
        cpp.staticLibraries: "abc"
    }

    Group {
       cpp.defines: outer.concat(['HAVE_MAIN_CPP', cpp.debugInformation ? '_DEBUG' : '_RELEASE'])
       files: ['main.cpp']
    }
}