blob: cf5658384a817f08da783e713ef14182785b9f8b (
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
|
import qbs
Project {
name: "theProject"
property bool includeDottedProduct
property bool includeDottedModule
Project {
condition: project.includeDottedProduct
Product {
name: "a.b"
Export { property string c: "default" }
}
}
Product {
name: "p"
Depends { name: "a.b"; condition: project.includeDottedProduct }
Depends { name: "x.y"; condition: project.includeDottedModule }
a.b.c: "p"
x.y.z: "p"
}
}
|