diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-02-01 14:06:26 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-03-07 16:34:40 +0000 |
commit | 4d22a69b8c82c5f1e4cc746a95afc43be7e66893 (patch) | |
tree | 968686bf543cc1940486815197a4ac4c6b79c941 /doc | |
parent | 554fa59f6cc821e959c312b336559c0dd23cc616 (diff) |
Match a rule's input tags against root artifacts of dependencies
For instance, if you make an object file the target artifact of your
product, you want the depending product's linker rule to pick it up,
without the need to explicitly add the tag to "inputsFromDependencies".
Otherwise, you'd basically have to duplicate the contents of "inputs" in
all rules then, which is silly.
[ChangeLog] A rule's "inputs" property is now matched against the file
tags of target artifacts of products that the current product depends
on, in addition to artifacts in the current product.
Change-Id: I814cb49f5d8135b7482777dce73f1fa56a44724b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/items/language/rule.qdoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/reference/items/language/rule.qdoc b/doc/reference/items/language/rule.qdoc index eff9a95ff..16aa85538 100644 --- a/doc/reference/items/language/rule.qdoc +++ b/doc/reference/items/language/rule.qdoc @@ -202,9 +202,10 @@ \li string list \li undefined \li File tags the input artifacts must match. - All output artifacts will depend on all artifacts in the product with - the given input file tags. Also these artifacts are available in the - inputs variable of the prepare script. + All output artifacts of the rule will depend on all artifacts in the product and on + all target artifacts of depending products that match these file tags. + Such artifacts are then also available in the \c inputs variable of the + \c prepare script. \row \li auxiliaryInputs \li string list |