diff options
| author | Andrew McNulty <amcn102@gmail.com> | 2024-09-07 10:26:08 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-09-11 15:45:16 -0700 |
| commit | 3aedec5b34c586b9c3a16be17d2fda353bf5fff1 (patch) | |
| tree | 974725134354c7262393134435fcdf4fcb519b6a /docs/yaml/functions | |
| parent | 8a641cac5f7fd01c5e213c170c1babc18088369d (diff) | |
| download | meson-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/functions')
| -rw-r--r-- | docs/yaml/functions/_build_target_base.yaml | 7 |
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 |
