[QBS] How to resolve dependencies on generated header files
Joerg Bornemann
joerg.bornemann at digia.com
Thu Aug 7 13:59:18 CEST 2014
On 07-Aug-14 12:55, Richard Weickelt wrote:
> What 'automatically' means then in the above paragraph? Does it mean
> anything beyound "generated header files can be tagged and therefore serve
> as dependencies for other rules"?
If there's a foo.cpp that includes foo.h and foo.h is generated by such
a dyamic rule then a dependency from foo.cpp to foo.h is added. If the
rule decides in a later build that foo.h is not generated anymore, then
foo.h (and the dependency) is removed.
That's basically what I tried to compress into the word "automatically".
No magic, maybe even not worth mentioning, but an important automatism.
BR,
Joerg
More information about the Qbs
mailing list