aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/hello/hello.qbp
blob: d73a6fdb800b2491be339e6130b263b9c5b09fc2 (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
import qbs.base 1.0

Project {
    Product {
        Depends { name: 'cpp' }

        type: 'application'
        name: 'HelloWorld'

        cpp.defines: ['SOMETHING']
        //cpp.applicationLinker.debugInformation: false

        Group {
            cpp.defines: outer.concat(['HAVE_MAIN_CPP', cpp.debugInformation ? '_DEBUG' : '_RELEASE'])
            prefix: "src/"
            files: [
                'main.cpp',
                'foo.h',
                'foo.cpp'
            ]
        }
    }
}