aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/proper quoting/proper quoting.qbp
blob: f56f7807171d1ef265dabda8b8eddabcb294ee4c (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import qbs.base 1.0

Project {
    Product {
        type: "application"
        name: "Hello World"
        files : [ "main.cpp" ]
        Depends { name: "cpp" }
        Depends { name: "my static lib" }
        cpp.defines: [
            'DEFINE="whitespaceless"',
            'DEFINEWITHSPACE="contains space"',
            'DEFINEWITHTAB="contains\ttab"',
            'DEFINEWITHBACKSLASH="backslash\\\\"',
            'DEFINEWITHBACKSLASHRAW=backslash\\\\'
        ]
//        cpp.responseFileThreshold: 0
    }

    Product {
        type: "staticlibrary"
        name : "my static lib"
        files : [ "my static lib.cpp" ]
        Depends { name: "cpp" }
        Depends { name: "helper lib" }
//        cpp.responseFileThreshold: 0
    }

    Product {
        type: "staticlibrary"
        name : "helper lib"
        files : [
            "some helper/some helper.h",
            "some helper/some helper.cpp"
        ]
        Depends { name: "cpp" }
        ProductModule {
            cpp.includePaths: ['some helper']
        }
//        cpp.responseFileThreshold: 0
    }
}