summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2025-08-29 08:00:28 -0400
committerDylan Baker <dylan@pnwbakers.com>2025-10-14 09:24:17 -0700
commite2164545cba239e27a604c89c1d11a4c470f50f3 (patch)
tree6925dfed8ecbd430738c207ff72165e22335db9d /docs/yaml
parent64eb00379d6efc24f08606737eed6edf110e6c73 (diff)
downloadmeson-e2164545cba239e27a604c89c1d11a4c470f50f3.tar.gz
Allow compiler methods to accept strings for include_directories
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/objects/compiler.yaml10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml
index 763060f18..c6761806d 100644
--- a/docs/yaml/objects/compiler.yaml
+++ b/docs/yaml/objects/compiler.yaml
@@ -61,9 +61,12 @@ methods:
description: You have found a bug if you can see this!
kwargs:
include_directories:
- type: inc | array[inc]
+ type: array[inc | str]
since: 0.38.0
- description: Extra directories for header searches.
+ description: |
+ Extra directories for header searches, created with the
+ [[include_directories]] function.
+ *(Since 1.10.0)* Strings are also accepted.
- name: _dependencies
returns: void
@@ -484,11 +487,12 @@ methods:
When the `has_headers` kwarg is also used, this argument is passed to
[[compiler.has_header]] as `args`.
header_include_directories:
- type: inc | array[inc]
+ type: array[inc | str]
since: 0.51.0
description: |
When the `has_headers` kwarg is also used, this argument is passed to
[[compiler.has_header]] as `include_directories`.
+ *(Since 1.10.0)* Strings are also accepted.
header_dependencies:
type: dep | array[dep]
since: 0.51.0