On 25-Jul-14 15:12, Richard Weickelt wrote:
> When building "myApplication", different configuration options come to my
> mind:
> 1. Global properties with influence to every product inside "framework"
> and "app"
Project {
...
property string somethingGlobal: "global"
SubProject {
filePath: "framework.qbs"
inheritProperties: true // this is the default
}
}
> 2. Local properties, only valid for "lib1" or "lib2"
Project {
...
SubProject {
filePath: "framework.qbs"
Properties {
somethingLocal: "changed from outside"
}
}
}
---framework.qbs---
Project {
property string somethingLocal: "local"
}
See also http://qt-project.org/doc/qbs-1.2/subproject-item.html
BR,
Joerg
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs