aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/markdown/Native-environments.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Native-environments.md b/docs/markdown/Native-environments.md
index d793132..1253db3 100644
--- a/docs/markdown/Native-environments.md
+++ b/docs/markdown/Native-environments.md
@@ -20,6 +20,13 @@ keep a persistent environment:
* To build with a non-default native tool chain (such as clang instead of gcc)
* To use a non-default version of another binary, such as yacc, or llvm-config
+## Using a native file
+
+During the `setup` phase, use the native file as such:
+```sh
+meson setup --native-file my-native-file.ini builddir/
+```
+
## Changing native file settings
All of the rules about cross files and changed settings apply to native files