aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/properties-blocks/properties-blocks.qbs
blob: c234a6b41adb4108ddc45d48f62dd4ca773a7c75 (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.includes("weird")
        cpp.staticLibraries: "abc"
    }

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