aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/hello/hello.qbs
blob: aeb46faf95b962beb99e9233b6f6061f5f594ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import qbs 1.0

Application {
    name: 'HelloWorld'

    Depends { name: 'cpp' }

    cpp.defines: ['SOMETHING']

    files: [
        "src/foo.h",
        "src/foo.cpp"
    ]

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