summaryrefslogtreecommitdiff
path: root/tests/auto/language/testdata/modulepropertiesingroups.qbs
blob: 7a0a99b3e209f1e8ccd6008c605bda0313a68ba6 (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
import qbs 1.0

Project {
    Product {
        name: "grouptest"

        Depends { name: "gmod.gmod1" }
        Depends { name: "gmod3" }
        Depends { name: "gmod4" }

        gmod.gmod1.gmod1_list2: base.concat([name, gmod.gmod1.gmod1_string])
        gmod.gmod1.gmod1_list3: ["product"]
        gmod.gmod1.p1: 1

        Group  {
            name: "g1"
            files: ["Banana"]

            gmod.gmod1.gmod1_string: name
            gmod.gmod1.gmod1_list2: outer.concat([name])
            gmod.gmod1.p2: 2
            gmod2.prop: 1
            gmod2.commonName: "g1"
            gmod3.gmod3_string: "g1_gmod3"
            gmod4.gmod4_string: "g1_gmod4"

            Group {
                name: "g1.1"

                gmod.gmod1.gmod1_string: name
                gmod.gmod1.gmod1_list2: outer.concat([name])
                gmod.gmod1.p2: 4
                gmod2.prop: 2
                gmod2.commonName: name
                gmod3.gmod3_string: "g1.1_gmod3"
                gmod4.gmod4_string: "g1.1_gmod4"
            }

            Group {
                name: "g1.2"

                gmod.gmod1.gmod1_string: name
                gmod.gmod1.gmod1_list2: outer.concat([name])
                gmod.gmod1.p2: 8
                gmod2.commonName: name
                gmod3.gmod3_string: "g1.2_gmod3"
            }
        }

        Group  {
            name: "g2"
            files: ["zort"]

            gmod.gmod1.gmod1_string: name
            gmod.gmod1.p1: 2
            gmod.gmod1.p2: 4
            gmod2.prop: 2
            gmod3.gmod3_string: name + "_gmod3"
            gmod4.gmod4_string: name + "_gmod4"

            Group {
                name: "g2.1"

                Group {
                    name: "g2.1.1"

                    gmod.gmod1.gmod1_list2: [name]
                    gmod.gmod1.p2: 15
                }
            }
        }
    }
}