blob: 923ddc2abb083ac8135798bfb56c28dbf24b554e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import qbs
Project {
Product {
name: "dep"
multiplexByQbsProperties: ["buildVariants"]
qbs.buildVariants: ["debug", "release"]
property string includeDir: qbs.buildVariant === "debug" ? "/d" : "/r"
Export {
Depends { name: "cpp" }
cpp.includePaths: product.includeDir
}
}
Product {
name: "p"
Depends { name: "dep" }
multiplexByQbsProperties: ["buildVariants"]
qbs.buildVariants: ["debug", "release"]
}
}
|