diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-06 22:47:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-06 22:47:25 +0200 |
commit | a34ac74cf918a7251d44c2f646972106da1a7f25 (patch) | |
tree | 479a07f584c119a5931b197546b10ffce88f329d /docs/markdown/snippets | |
parent | 735e138382c2876c181edd09e6bf9bb76225be6d (diff) | |
parent | 52071c6d4ee15c750f8a8620e038b78627db890e (diff) | |
download | meson-a34ac74cf918a7251d44c2f646972106da1a7f25.zip meson-a34ac74cf918a7251d44c2f646972106da1a7f25.tar.gz meson-a34ac74cf918a7251d44c2f646972106da1a7f25.tar.bz2 |
Merge pull request #4547 from mensinda/introIncDirs
mintro: Save introspection to disk and --targets modifications
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/introspect_multiple.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/markdown/snippets/introspect_multiple.md b/docs/markdown/snippets/introspect_multiple.md new file mode 100644 index 0000000..67f517a --- /dev/null +++ b/docs/markdown/snippets/introspect_multiple.md @@ -0,0 +1,22 @@ +## Added option to introspect multiple parameters at once + +Meson introspect can now print the results of multiple introspection +commands in a single call. The results are then printed as a single JSON +object. + +The format for a single command was not changed to keep backward +compatibility. + +Furthermore the option `-a,--all`, `-i,--indent` and `-f,--force-object-output` +were added to print all introspection information in one go, format the +JSON output (the default is still compact JSON) and force use the new +output format, even if only one introspection command was given. + +A complete introspection dump is also stored in the `meson-info` +directory. This dump will be (re)generated each time meson updates the +configuration of the build directory. + +Additionlly the format of `meson introspect target` was changed: + + - New: the `sources` key. It stores the source files of a target and their compiler parameters. + - Added new target types (`jar`, `shared module`). |