docs: Document that meson 0.52.0 allows layering cross files [skip ci]

pull/6136/head
Dylan Baker 5 years ago committed by Jussi Pakkanen
parent aba8792b66
commit 11f1adb7dd
  1. 5
      docs/markdown/Cross-compilation.md
  2. 7
      docs/markdown/Native-environments.md

@ -206,6 +206,11 @@ bindir = 'bin'
This will be overwritten by any options passed on the command line.
Since meson 0.52.0 it is possible to layer cross files together. This
works like native file layering: the purpose is to compose cross files
together, and values from the second cross file will replace those
from the first.
## Starting a cross build

@ -62,9 +62,10 @@ command line will override any options in the native file. For example, passing
## Loading multiple native files
Unlike cross file, native files allow layering. More than one native file can be
loaded, with values from a previous file being overridden by the next. The
intention of this is not overriding, but to allow composing native files.
Native files allow layering (cross files can be layered since meson 0.52.0).
More than one native file can be loaded, with values from a previous file being
overridden by the next. The intention of this is not overriding, but to allow
composing native files.
For example, if there is a project using C and C++, python 3.4-3.7, and LLVM
5-7, and it needs to build with clang 5, 6, and 7, and gcc 5.x, 6.x, and 7.x;

Loading…
Cancel
Save