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.
15 lines
396 B
15 lines
396 B
3 years ago
|
## D features in `declare_dependency`
|
||
|
|
||
|
`declare_dependency`accepts parameters for D specific features.
|
||
|
Accepted new parameters are `d_module_features` and `d_import_dirs`.
|
||
|
|
||
|
This can be useful to propagate conditional compilation versions. E.g.:
|
||
|
|
||
|
```meson
|
||
|
my_lua_dep = declare_dependency(
|
||
|
# ...
|
||
|
d_module_features: ['LUA_53'],
|
||
|
d_import_dirs: include_directories('my_lua_folder'),
|
||
|
)
|
||
|
```
|