aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml/builtins
diff options
context:
space:
mode:
Diffstat (limited to 'docs/yaml/builtins')
-rw-r--r--docs/yaml/builtins/meson.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/yaml/builtins/meson.yaml b/docs/yaml/builtins/meson.yaml
index 5ef445d..966159c 100644
--- a/docs/yaml/builtins/meson.yaml
+++ b/docs/yaml/builtins/meson.yaml
@@ -164,6 +164,21 @@ methods:
- `vs2022`
- `xcode`
+ - name: build_options
+ returns: str
+ since: 1.1.0
+ description: |
+ Returns a string with the configuration line used to set the current project up.
+ notes:
+ - |
+ **Do not try to parse this string!**
+
+ You should use [[cfg_data.set_quoted]] to safely escape any embedded
+ quotes prior to storing it into e.g. a C header macro.
+
+ The contents returned by this function are the same as the
+ "Build Options:" line reported in `<builddir>/meson-logs/meson-log.txt`.
+
- name: build_root
returns: str
deprecated: 0.56.0