summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorAndrew McNulty <amcn102@gmail.com>2024-09-07 10:26:08 +0100
committerDylan Baker <dylan@pnwbakers.com>2024-09-11 15:45:16 -0700
commit3aedec5b34c586b9c3a16be17d2fda353bf5fff1 (patch)
tree974725134354c7262393134435fcdf4fcb519b6a /docs/yaml
parent8a641cac5f7fd01c5e213c170c1babc18088369d (diff)
downloadmeson-3aedec5b34c586b9c3a16be17d2fda353bf5fff1.tar.gz
Harmonize d_import_dirs and include_directories behavior.
This commit harmonizes the handling of `d_import_dirs` and `include_directories`. The treatment of `d_import_dirs` was also different depending on the context: in `declare_dependency` it was treated like the `include_directories`, but in `build_target` et al, it had special treatment. With this commit, they are all treated by the same function. The documentation has been updated to reflect this. Fixes #12742
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/functions/_build_target_base.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml
index 1db49a531..1721b29cf 100644
--- a/docs/yaml/functions/_build_target_base.yaml
+++ b/docs/yaml/functions/_build_target_base.yaml
@@ -256,8 +256,11 @@ kwargs:
do not support GNU visibility arguments.
d_import_dirs:
- type: list[str]
- description: List of directories to look in for string imports used in the D programming language.
+ 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.
d_unittest:
type: bool