aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-11-05 09:05:24 -0800
committerDylan Baker <dylan@pnwbakers.com>2018-11-14 15:57:37 -0800
commit0ab27add49cedb6f5985dfba7ba40c8d29ae91dc (patch)
tree72e7fbd5ee46ffcf3bf3a4040c2ab8496a2dd3b0 /docs/markdown/snippets
parente338e9ad2f08c52ec96541704e8f798d5a6e2742 (diff)
downloadmeson-0ab27add49cedb6f5985dfba7ba40c8d29ae91dc.zip
meson-0ab27add49cedb6f5985dfba7ba40c8d29ae91dc.tar.gz
meson-0ab27add49cedb6f5985dfba7ba40c8d29ae91dc.tar.bz2
docs: Add documentation for Native Files
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/native_files.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/markdown/snippets/native_files.md b/docs/markdown/snippets/native_files.md
new file mode 100644
index 0000000..7bc3644
--- /dev/null
+++ b/docs/markdown/snippets/native_files.md
@@ -0,0 +1,15 @@
+## Native config files
+
+Native files are the counterpart to cross files, and allow specifying
+information about the build machine, both when cross compiling and when not.
+
+Currently the native files only allow specifying the names of binaries, similar
+to the cross file, for example:
+
+```ini
+[binaries]
+llvm-config = "/opt/llvm-custom/bin/llvm-config"
+```
+
+Will override the llvm-config used for *native* binaries. Targets for the host
+machine will continue to use the cross file.