summaryrefslogtreecommitdiff
path: root/docs/yaml/builtins/host_machine.yaml
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-08-21 16:27:56 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-10-03 11:46:34 +0200
commit2b482e39a90fa1929e0fa4006861f4264f28adb2 (patch)
tree0af5ef229d25bef1b974445406fc3c9d28c0756f /docs/yaml/builtins/host_machine.yaml
parentad65a699f93a7659739287882ca27c58c564670b (diff)
downloadmeson-2b482e39a90fa1929e0fa4006861f4264f28adb2.tar.gz
docs: Add the YAML Reference manual
Diffstat (limited to 'docs/yaml/builtins/host_machine.yaml')
-rw-r--r--docs/yaml/builtins/host_machine.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/yaml/builtins/host_machine.yaml b/docs/yaml/builtins/host_machine.yaml
new file mode 100644
index 000000000..f13058632
--- /dev/null
+++ b/docs/yaml/builtins/host_machine.yaml
@@ -0,0 +1,14 @@
+name: host_machine
+long_name: Host machine information
+description: |
+ Provides information about the host machine -- the machine on which the
+ compiled binary will run. See
+ [Cross-compilation](Cross-compilation.md).
+
+ It has the same methods as [[@build_machine]].
+
+ When not cross-compiling, all the methods return the same values as
+ [[@build_machine]] (because the build machine is the host machine)
+
+ Note that while cross-compiling, it simply returns the values defined
+ in the cross-info file.