diff options
-rw-r--r-- | doc/reference/items/artifact.qdoc | 11 | ||||
-rw-r--r-- | doc/reference/items/rule.qdoc | 6 |
2 files changed, 16 insertions, 1 deletions
diff --git a/doc/reference/items/artifact.qdoc b/doc/reference/items/artifact.qdoc index 09db7502e..0294184d9 100644 --- a/doc/reference/items/artifact.qdoc +++ b/doc/reference/items/artifact.qdoc @@ -38,6 +38,17 @@ For example, if a rule produces three files, it needs to contain three Artifact items. + In addition to the properties listed in the section below, you can also set module properties + within an \c Artifact item: + \code + Artifact { + filePath: "somefile.cpp" + fileTags: ["cpp"] + cpp.cxxLanguageVersion: "c++11" + // ... + } + \endcode + \section1 Artifact Properties \note The code on the right-hand side of these properties has access to the set of input diff --git a/doc/reference/items/rule.qdoc b/doc/reference/items/rule.qdoc index f51b3f76b..379a5ec83 100644 --- a/doc/reference/items/rule.qdoc +++ b/doc/reference/items/rule.qdoc @@ -242,7 +242,11 @@ \li An array of output artifacts, specified as JavaScript objects. Example: \code - outputArtifacts: [{filePath: "myfile.txt", fileTags: ["foo", "bar"]}] + outputArtifacts: [{ + filePath: "myfile.cpp", + fileTags: ["cpp"], + cpp: { cxxLanguageVersion: "c++11" } + }] \endcode For a description of the possible properties, see the documentation of the \l{Artifact item}. |