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.
16 lines
394 B
16 lines
394 B
5 years ago
|
## Native file properties
|
||
|
|
||
|
As of Meson 0.53.0, the `--native-file foo.txt` can contain:
|
||
|
|
||
|
* binaries
|
||
|
* paths
|
||
|
* properties
|
||
|
|
||
|
which are defined and used the same way as in cross files.
|
||
|
The `properties` are new for Meson 0.53.0, and are read like:
|
||
|
|
||
|
```meson
|
||
|
x = meson.get_native_property('foobar', 'foo')
|
||
|
```
|
||
|
|
||
|
where `foobar` is the property name, and the optional `foo` is the fallback string value.
|