From 0ab27add49cedb6f5985dfba7ba40c8d29ae91dc Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 5 Nov 2018 09:05:24 -0800 Subject: docs: Add documentation for Native Files --- docs/markdown/snippets/native_files.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/markdown/snippets/native_files.md (limited to 'docs/markdown/snippets') 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. -- cgit v1.1