diff options
author | Niklas Claesson <nicke.claesson@gmail.com> | 2017-09-20 20:28:04 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-09-29 23:29:44 +0300 |
commit | 68275b32e80147145cc78607f496255486fb9d92 (patch) | |
tree | ceeac94f4cc545e341f2dbdbb0699d0ba51e46ae /docs/markdown | |
parent | c93bce78397de6cc96f0ed57ec4b01b582415db0 (diff) | |
download | meson-68275b32e80147145cc78607f496255486fb9d92.zip meson-68275b32e80147145cc78607f496255486fb9d92.tar.gz meson-68275b32e80147145cc78607f496255486fb9d92.tar.bz2 |
Implement capture for generators
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Reference-manual.md | 3 | ||||
-rw-r--r-- | docs/markdown/Release-notes-for-0.43.0/001-generator-capture.md | 4 |
2 files changed, 7 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. diff --git a/docs/markdown/Release-notes-for-0.43.0/001-generator-capture.md b/docs/markdown/Release-notes-for-0.43.0/001-generator-capture.md new file mode 100644 index 0000000..4eb7fc0 --- /dev/null +++ b/docs/markdown/Release-notes-for-0.43.0/001-generator-capture.md @@ -0,0 +1,4 @@ +## Generator learned capture + +Generators can now be configured to capture the standard output. See +`test cases/common/98 gen extra/meson.build` for an example. |