summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/preprocess-depends.md5
-rw-r--r--docs/yaml/objects/compiler.yaml7
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/snippets/preprocess-depends.md b/docs/markdown/snippets/preprocess-depends.md
new file mode 100644
index 000000000..531246462
--- /dev/null
+++ b/docs/markdown/snippets/preprocess-depends.md
@@ -0,0 +1,5 @@
+## `depends` kwarg now supported by compiler.preprocess()
+
+It is now possible to specify the dependent targets with `depends:`
+for compiler.preprocess(). These targets should be built before the
+preprocessing starts.
diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml
index 239a9bcfd..db2ff05fd 100644
--- a/docs/yaml/objects/compiler.yaml
+++ b/docs/yaml/objects/compiler.yaml
@@ -681,3 +681,10 @@ methods:
type: dep | list[dep]
description: Additionally dependencies required.
since: 1.1.0
+ depends:
+ type: list[build_tgt | custom_tgt]
+ description: |
+ Specifies that this target depends on the specified
+ target(s). These targets should be built before starting
+ to preprocess an input.
+ since: 1.4.0