aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2023-02-10 17:23:28 -0500
committerXavier Claessens <xclaesse@gmail.com>2023-02-15 15:12:34 -0500
commitd21b64487e30a6b9aa51e6db9f13dbb44e700788 (patch)
tree90f652fbd28548b412d74a26c0289238f29f1d42 /docs
parentc2a55bfe43fae1b44cf49a083297d6755c89e1cc (diff)
downloadmeson-d21b64487e30a6b9aa51e6db9f13dbb44e700788.zip
meson-d21b64487e30a6b9aa51e6db9f13dbb44e700788.tar.gz
meson-d21b64487e30a6b9aa51e6db9f13dbb44e700788.tar.bz2
preprocess: Add dependencies kwarg
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/preprocess.md6
-rw-r--r--docs/yaml/objects/compiler.yaml4
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/snippets/preprocess.md b/docs/markdown/snippets/preprocess.md
new file mode 100644
index 0000000..c6cdc08
--- /dev/null
+++ b/docs/markdown/snippets/preprocess.md
@@ -0,0 +1,6 @@
+## compiler.preprocess()
+
+Dependencies keyword argument can now be passed to `compiler.preprocess()` to
+add include directories or compiler arguments.
+
+Generated sources such as custom targets are now allowed too.
diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml
index 7224011..abf86aa 100644
--- a/docs/yaml/objects/compiler.yaml
+++ b/docs/yaml/objects/compiler.yaml
@@ -617,3 +617,7 @@ methods:
type: list[str]
description: |
Extra flags to pass to the preprocessor
+ dependencies:
+ type: dep | list[dep]
+ description: Additionally dependencies required.
+ since: 1.1.0