aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/multiplexing/multiplexing.qbs
blob: 243c73d462a4f163b70f61e907bc6e335c96cb3c (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import qbs.TextFile

Project {
    Project {
        name: "subproject 1"
        Product {
            name: "multiplex-using-export"
            multiplexByQbsProperties: ["architectures"]
            qbs.architectures: ["TRS-80", "C64"]
            Depends { name: "multiplex-with-export" }
        }
        Product {
            name: "multiplex-without-aggregator-2-depend-on-non-multiplexed"
            multiplexByQbsProperties: ["architectures"]
            qbs.architectures: ["TRS-80", "C64"]
            Depends { name: "no-multiplexing" }
        }
        Product {
            name: "multiplex-with-aggregator-2"
            aggregate: true
            multiplexByQbsProperties: ["architectures"]
            qbs.architectures: ["TRS-80", "C64"]
            qbs.architecture: "Atari ST"
        }
        Product {
            name: "multiplex-with-aggregator-2-dependent"
            Depends { name: "multiplex-with-aggregator-2" }
        }
        Product {
            name: "non-multiplexed-with-dependencies-on-multiplexed"
            Depends { name: "multiplex-without-aggregator-2" }
        }
        Product {
            name: "non-multiplexed-with-dependencies-on-multiplexed-via-export1"
            Depends { name: "multiplex-with-export" }
        }
        Product {
            name: "non-multiplexed-with-dependencies-on-multiplexed-via-export2"
            Depends { name: "nonmultiplex-with-export" }
        }
        Product {
            name: "non-multiplexed-with-dependencies-on-aggregation-via-export"
            Depends { name: "nonmultiplex-exporting-aggregation" }
        }
    }

    Project {
        name: "subproject 2"
        Product {
            name: "no-multiplexing"
        }
        Product {
            name: "multiplex-without-aggregator-2"
            multiplexByQbsProperties: ["architectures"]
            qbs.architectures: ["TRS-80", "C64"]
        }
        Product {
            name: "multiplex-with-export"
            multiplexByQbsProperties: ["architectures"]
            qbs.architectures: ["TRS-80", "C64"]
            Export { Depends { name: "multiplex-without-aggregator-2" } }
        }
        Product {
            name: "nonmultiplex-with-export"
            Export { Depends { name: "multiplex-without-aggregator-2" } }
        }
        Product {
            name: "nonmultiplex-exporting-aggregation"
            Export { Depends { name: "multiplex-with-aggregator-2" } }
        }
        Product {
            name: "multiplex-without-aggregator-4"
            multiplexByQbsProperties: ["architectures", "buildVariants"]
            qbs.architectures: ["TRS-80", "C64"]
            qbs.buildVariants: ["debug", "release"]
        }
    }

    Product {
        name: "aggregate-with-dependencies-on-aggregation-via-export"
        Depends { name: "nonmultiplex-exporting-aggregation" }
        aggregate: true
        multiplexByQbsProperties: ["architectures"]
        qbs.architectures: ["TRS-80", "C64"]
        qbs.architecture: "Atari ST"
    }
}