diff options
author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-03-30 10:50:11 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2023-04-20 18:31:39 +0300 |
commit | fbab1488ae31ac0e3f08aa84c811cbdcd5fa68b4 (patch) | |
tree | 38b473f7f978552721d5b6eae2b0763ab2b9b8c2 /docs | |
parent | e2c454b86e5fcb2dbbabe33199dc4b877dcdb95d (diff) | |
download | meson-fbab1488ae31ac0e3f08aa84c811cbdcd5fa68b4.tar.gz |
extra_files keyword in declare_dependency()
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/snippets/dep_extra_files.md | 4 | ||||
-rw-r--r-- | docs/yaml/functions/declare_dependency.yaml | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/dep_extra_files.md b/docs/markdown/snippets/dep_extra_files.md new file mode 100644 index 000000000..6366c1622 --- /dev/null +++ b/docs/markdown/snippets/dep_extra_files.md @@ -0,0 +1,4 @@ +## Extra files keyword in `declare_dependency` + +`declare_dependency` have a new `extra_files` keyword, +to add extra files to a target. It is used mostly for IDE integration. diff --git a/docs/yaml/functions/declare_dependency.yaml b/docs/yaml/functions/declare_dependency.yaml index b09a0c0a0..9d085fdf8 100644 --- a/docs/yaml/functions/declare_dependency.yaml +++ b/docs/yaml/functions/declare_dependency.yaml @@ -43,6 +43,13 @@ kwargs: (or generated header files that should be built before sources including them are built) + extra_files: + type: list[str | file] + since: 1.2.0 + description: | + extra files to add to targets. + mostly used for IDE integration. + version: type: str description: | |