aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorRemi Thebault <remi.thebault@gmail.com>2022-05-01 15:42:47 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2022-05-02 23:06:38 +0300
commitd7e56f5ec9c2a69c14102333c653bce2146bb6bd (patch)
tree27ffe29f2d012f06db18d6eaad2cfbaa9219761e /docs/yaml
parent0f15bfb846266bc4be840b468a113884b2d371f4 (diff)
downloadmeson-d7e56f5ec9c2a69c14102333c653bce2146bb6bd.zip
meson-d7e56f5ec9c2a69c14102333c653bce2146bb6bd.tar.gz
meson-d7e56f5ec9c2a69c14102333c653bce2146bb6bd.tar.bz2
complete documentation of declare_dependency
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/functions/declare_dependency.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/yaml/functions/declare_dependency.yaml b/docs/yaml/functions/declare_dependency.yaml
index f043d1d..bcc8343 100644
--- a/docs/yaml/functions/declare_dependency.yaml
+++ b/docs/yaml/functions/declare_dependency.yaml
@@ -57,3 +57,17 @@ kwargs:
this is meant to be used
in subprojects where special variables would be provided via cmake or
pkg-config. *since 0.56.0* it can also be a list of `'key=value'` strings.
+
+ d_module_versions:
+ type: str | list[str]
+ since: 0.62.0
+ description: |
+ a string or a list of strings,
+ the D versions to add during the compilation of D source files
+
+ d_import_dirs:
+ type: list[inc | str]
+ since: 0.62.0
+ description: |
+ the directories to add to the string search path (i.e. `-J` switch for DMD).
+ Must be [[@inc]] objects or plain strings.