aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/items
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-10-17 10:47:06 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-11-07 15:56:33 +0000
commit8ca922793f2a7a10023784d1c18e4b86f552209d (patch)
tree5150fddc8c4fb0e79fc41f65af210feb41a67c38 /doc/reference/items
parent98e4cef3ea23842d6bceb438e0f1f8285a01d979 (diff)
Enable modules to declare target artifacts
Such artifacts appear to rules just like target artifacts of products. This functionality will be useful for auto-generating qbs modules from products. [ChangeLog] Modules can now declare target artifacts using the new filesAreTargets property of the Group item. Task-number: QBS-882 Change-Id: I3bba000be9a1057d9fef01e5576363719ff1f244 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc/reference/items')
-rw-r--r--doc/reference/items/language/group.qdoc11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/reference/items/language/group.qdoc b/doc/reference/items/language/group.qdoc
index e2d66cb0a..357780e0a 100644
--- a/doc/reference/items/language/group.qdoc
+++ b/doc/reference/items/language/group.qdoc
@@ -95,7 +95,7 @@
\endcode
Groups may also appear in modules, which causes the respective sources to be added to the
- products depending on said module.
+ products depending on said module (except if the \c filesAreTargets property is set, see below).
Groups can be nested. In this case, child groups inherit the module properties and file
tags as well as the prefix of their parent group. The condition of a child group gets logically
ANDed with the one of its parent group.
@@ -122,6 +122,15 @@
that contains the \c Group item. However, if the \c prefix property is set to an
absolute path, then that one becomes the base directory.
\row
+ \li filesAreTargets
+ \li bool
+ \li false
+ \li If this property is \c true and the group is in a module, then the files in the
+ group will not become source artifacts of the product that depends on the module.
+ Instead, they are treated like target artifacts of products, that is, they will be
+ matched against the \c inputsFromDependencies file tag list of \l{Rule Item}{rules}
+ in products that depend on the module.
+ \row
\li prefix
\li string
\li prefix of the parent group if one exists, otherwise empty