aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/project-editing/project.qbs
blob: 57cb30355cd9e38497772c4ea95b292e6011c6a6 (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
import qbs

CppApplication {
    Group {
        name: "Existing Group 1"
        files: ["existingfile1.txt"]
    }
    property string aFile: "existingfile2.txt"
    Group {
        name: "Existing Group 2"
        files: product.aFile
    }
    Group {
        name: "Existing Group 3"
        files: {
            var file = "existingfile3.txt";
            return file;
        }
    }
    Group {
        name: "Existing Group 4"
        prefix: "subdir/"
        files: []
    }
    Group {
        name: "Existing Group 5"
        prefix: "blubb"
        files: []
    }
    Group {
        name: "Group with wildcards"
        files: "*.klaus"
    }
    Group {
        name: "Other group with wildcards"
        files: "*.wildcard"
    }
    files: "main.cpp"
}