aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorNiklas Claesson <nicke.claesson@gmail.com>2017-09-20 20:28:04 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-09-29 23:29:44 +0300
commit68275b32e80147145cc78607f496255486fb9d92 (patch)
treeceeac94f4cc545e341f2dbdbb0699d0ba51e46ae /docs/markdown/Reference-manual.md
parentc93bce78397de6cc96f0ed57ec4b01b582415db0 (diff)
downloadmeson-68275b32e80147145cc78607f496255486fb9d92.zip
meson-68275b32e80147145cc78607f496255486fb9d92.tar.gz
meson-68275b32e80147145cc78607f496255486fb9d92.tar.bz2
Implement capture for generators
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index c3636b8..f37fb34 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -554,6 +554,9 @@ following:
- `output` a template string (or list of template strings) defining
how an output file name is (or multiple output names are) generated
from a single source file name
+- `capture` when this argument is set to true, Meson captures `stdout`
+ of the `executable` and writes it to the target file specified as
+ `output`. Available since v0.43.0.
The returned object also has methods that are documented in the
[object methods section](#generator-object) below.