diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-03-03 09:18:48 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-03-04 13:00:30 +0100 |
commit | dd5791309e7dcd0a156063784a60245d8088da14 (patch) | |
tree | f6f25a4055a4a4f036a9bec696e1e9c06e3d7324 /docs | |
parent | 06695fec604ed0e744ce98c1f67f750dc465c6ca (diff) | |
download | meson-dd5791309e7dcd0a156063784a60245d8088da14.zip meson-dd5791309e7dcd0a156063784a60245d8088da14.tar.gz meson-dd5791309e7dcd0a156063784a60245d8088da14.tar.bz2 |
rewriter: Document info operation
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Rewriter.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/Rewriter.md b/docs/markdown/Rewriter.md index 8d46597..30e0bc1 100644 --- a/docs/markdown/Rewriter.md +++ b/docs/markdown/Rewriter.md @@ -219,3 +219,13 @@ The format for the type `default_options` is defined as follows: ``` For operation `delete`, the values of the `options` can be anything (including `null`) + +## Extracting information + +The rewriter also offers operation `info` for the types `target` and `kwargs`. +When this operation is used, meson will print a JSON dump to stderr, containing +all available information to the rewriter about the build target / function +kwargs in question. + +The output format is guaranteed to be backwards compatible, but new keys may be +added in the future. |