summaryrefslogtreecommitdiff
path: root/tests/auto/api/testdata/export-simple/export-simple.qbs
blob: 01177049d9d38c198a8e3c2f771ac7c465c1276a (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
43
44
45
46
47
48
49
50
51
Project {
    Application {
        name : "HelloWorld"
        destinationDirectory: "bin"
        Group {
            files : [ "main.cpp" ]
        }
        Depends { name: "cpp" }
        Depends { name: 'dummy' }
    }

    Product {
        name: 'dummy'
        Group {
            files: 'main.cpp'
            qbs.install: true
        }
        Export {
            Depends { name: 'dummy2' }
            Properties {    // QBS-550
                condition: false
                qbs.optimization: "ludicrous speed"
            }
        }
    }

    Product {
        name: 'dummy2'
        Group {
            files: 'lib1.cpp'
            qbs.install: true
        }
        Export {
            Depends { name: 'lib1' }
        }
    }

    DynamicLibrary {
        name : "lib1"
        destinationDirectory: "bin"
        Group {
            files : [ "lib1.cpp" ]
        }
        Depends { name: "cpp" }
        Properties {
            condition: qbs.targetOS.contains("darwin")
            bundle.isBundle: false
        }
    }
}