From 7c377e5a5d1e413ea3494ceed0800985fcd804ae Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Tue, 13 Oct 2020 19:44:41 +0200 Subject: intro: Add extra_files key to intro output (fixes #7310) --- docs/markdown/IDE-integration.md | 4 ++++ docs/markdown/snippets/intro_extra_files.md | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 docs/markdown/snippets/intro_extra_files.md (limited to 'docs/markdown') 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.) + -- cgit v1.1