diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-10-13 19:44:41 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-15 01:56:59 +0300 |
commit | 7c377e5a5d1e413ea3494ceed0800985fcd804ae (patch) | |
tree | beb8d9e6dfe24740de92151eaa5906b4c52b5cda /docs/markdown | |
parent | 30d78f39812a0585a27e24ab44ef4e9da1f12574 (diff) | |
download | meson-7c377e5a5d1e413ea3494ceed0800985fcd804ae.zip meson-7c377e5a5d1e413ea3494ceed0800985fcd804ae.tar.gz meson-7c377e5a5d1e413ea3494ceed0800985fcd804ae.tar.bz2 |
intro: Add extra_files key to intro output (fixes #7310)
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/IDE-integration.md | 4 | ||||
-rw-r--r-- | docs/markdown/snippets/intro_extra_files.md | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/IDE-integration.md b/docs/markdown/IDE-integration.md index 5188359..2f91e81 100644 --- a/docs/markdown/IDE-integration.md +++ b/docs/markdown/IDE-integration.md @@ -59,6 +59,7 @@ for one target is defined as follows: "filename": ["list", "of", "generated", "files"], "build_by_default": true / false, "target_sources": [], + "extra_files": ["/path/to/file1.hpp", "/path/to/file2.hpp"], "installed": true / false, } ``` @@ -71,6 +72,9 @@ is set to `null`. The `subproject` key specifies the name of the subproject this target was defined in, or `null` if the target was defined in the top level project. +*(New in 0.56.0)* The `extra_files` key lists all files specified via the +`extra_files` kwarg of a build target. See [`executable()`](Reference-manual.md#executable). + A target usually generates only one file. However, it is possible for custom targets to have multiple outputs. diff --git a/docs/markdown/snippets/intro_extra_files.md b/docs/markdown/snippets/intro_extra_files.md new file mode 100644 index 0000000..43475cd --- /dev/null +++ b/docs/markdown/snippets/intro_extra_files.md @@ -0,0 +1,6 @@ +## New `extra_files` key in target introspection + +The target introspection (`meson introspect --targets`, `intro-targets.json`) +now has the new `extra_files` key which lists all files specified via the +`extra_files` kwarg of a build target (see `executable()`, etc.) + |