The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
516 B
18 lines
516 B
## Native file properties |
|
|
|
As of Meson 0.54.0, the `--native-file nativefile.ini` can contain: |
|
|
|
* binaries |
|
* paths |
|
* properties |
|
|
|
which are defined and used the same way as in cross files. |
|
The `properties` are new for Meson 0.54.0, and are read like: |
|
|
|
```meson |
|
x = meson.get_external_property('foobar', 'foo') |
|
``` |
|
|
|
where `foobar` is the property name, and the optional `foo` is the fallback string value. |
|
|
|
For cross-compiled projects, `get_external_property()` reads the cross-file unless `native: true` is specified. |