From e2164545cba239e27a604c89c1d11a4c470f50f3 Mon Sep 17 00:00:00 2001 From: Charles Brunet Date: Fri, 29 Aug 2025 08:00:28 -0400 Subject: Allow compiler methods to accept strings for include_directories --- docs/yaml/objects/compiler.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs/yaml/objects') 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 -- cgit v1.2.3