This function returns the current Meson implementation running the build script. In our case, this is always 'meson'.pull/12014/head
parent
1d84989078
commit
b1f015a86a
6 changed files with 32 additions and 1 deletions
@ -0,0 +1,5 @@ |
|||||||
|
## `meson.implementation()` |
||||||
|
|
||||||
|
The built-in `meson` object now has an `implementation()` method. It returns the |
||||||
|
current Meson implementation running the build script. In our case, this is |
||||||
|
always `'meson'`. |
@ -0,0 +1,3 @@ |
|||||||
|
project('meson.implementation()') |
||||||
|
|
||||||
|
assert(meson.implementation() == get_option('implementation')) |
@ -0,0 +1 @@ |
|||||||
|
option('implementation', type: 'string', value: 'meson') |
Loading…
Reference in new issue