-
Task
-
Resolution: Duplicate
-
P2: Important
-
None
-
None
-
None
Example:
---MyStuff.qbs---
Item {
property bool enableSecondGroup: false
Group {
files: ["file1.cpp"]
}
Group {
condition: enableSecondGroup
files: ["file2.cpp"]
}
}
---MyProduct.qbs---
import MyStuff
Application {
name: "myapp"
MyStuff {
enableSecondGroup: true
}
}
myapp now gets both groups that are defined in MyStuff.qbs