docs: mention in the native-file docs, the command line argument to use

We mention --cross-file in the relevant page, but the fact that
--native-file is the command line argument to use is mentioned nowhere
other than a couple of release notes and the --help text for meson
setup.

This should be described in the docs.
pull/10753/head
Eli Schwartz 2 years ago
parent d4733984e9
commit e8d42bd9a8
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 7
      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 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 * 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 ## Changing native file settings
All of the rules about cross files and changed settings apply to native files All of the rules about cross files and changed settings apply to native files

Loading…
Cancel
Save