From fbab1488ae31ac0e3f08aa84c811cbdcd5fa68b4 Mon Sep 17 00:00:00 2001 From: Charles Brunet Date: Thu, 30 Mar 2023 10:50:11 -0400 Subject: extra_files keyword in declare_dependency() --- docs/markdown/snippets/dep_extra_files.md | 4 ++++ docs/yaml/functions/declare_dependency.yaml | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 docs/markdown/snippets/dep_extra_files.md (limited to 'docs') diff --git a/docs/markdown/snippets/dep_extra_files.md b/docs/markdown/snippets/dep_extra_files.md new file mode 100644 index 0000000..6366c16 --- /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 b09a0c0..9d085fd 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: | -- cgit v1.1