Consider this module:
Module {
Depends { name: "cpp" }
property string myDefine
cpp.defines: [myDefine]
}
This works as expected:
Product {
Depends { name: "mymodule" }
files: "file.cpp"
mymodule.myDefine: ["TEST"]
}
This does not:
Product {
Depends { name: "mymodule" }
Group {
files: "file.cpp"
mymodule.myDefine: "TEST"
}
}
Only in the first case does "TEST" show up in cpp.defines.
- relates to
-
QBS-1026 Semantics of module list properties in groups do not seem to be well-defined
-
- Closed
-
| For Gerrit Dashboard: QBS-1005 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 167466,2 | Add XFAILing autotest for newly discovered bug | 1.6 | qbs/qbs | Status: MERGED | +2 | 0 |
| 173489,2 | Extend the autotest for module property assignments in Groups | 1.6 | qbs/qbs | Status: MERGED | +2 | 0 |
| 175203,4 | Fix module property assignments in Group items | 1.6 | qbs/qbs | Status: MERGED | +2 | 0 |
| 177133,3 | Fix group-level module property evaluation for nested groups | 1.7 | qbs/qbs | Status: MERGED | +2 | 0 |