parent
87c3c8426f
commit
5e4ea9f0f4
1 changed files with 14 additions and 0 deletions
@ -0,0 +1,14 @@ |
||||
## 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'), |
||||
) |
||||
``` |
Loading…
Reference in new issue