diff options
author | Remi Thebault <remi.thebault@gmail.com> | 2022-05-01 15:20:22 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-05-02 23:06:38 +0300 |
commit | 0f15bfb846266bc4be840b468a113884b2d371f4 (patch) | |
tree | aabc643303099ceb70433efd00929b64fa39c625 /docs | |
parent | 5c0145c54de9906c375ccb677a40d6e45483c22e (diff) | |
download | meson-0f15bfb846266bc4be840b468a113884b2d371f4.zip meson-0f15bfb846266bc4be840b468a113884b2d371f4.tar.gz meson-0f15bfb846266bc4be840b468a113884b2d371f4.tar.bz2 |
Fix wrong name in doc
The doc about declare_dependency states
d_module_features instead of d_module_versions
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/D.md | 9 | ||||
-rw-r--r-- | docs/markdown/Release-notes-for-0.62.0.md | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/docs/markdown/D.md b/docs/markdown/D.md index c740d4b..501f1db 100644 --- a/docs/markdown/D.md +++ b/docs/markdown/D.md @@ -37,20 +37,19 @@ executable('myapp', 'app.d', d_debug: [3, 'DebugFeatureA']) ## In `declare_dependency` -*Since 0.62.0*, when declaring your own dependency using `declare_dependency`, it is -possible to add parameters for D specific features, e.g. to propagate +*Since 0.62.0*, when declaring your own dependency using `declare_dependency`, +it is possible to add parameters for D specific features, e.g. to propagate conditional compilation versions: ```meson my_dep = declare_dependency( # ... - d_module_features: ['LUA_53'], + d_module_versions: ['LUA_53'], d_import_dirs: include_directories('my_lua_folder'), ) ``` -Accepted D specific parameters are `d_module_features` and -`d_import_dirs`. +Accepted D specific parameters are `d_module_versions` and `d_import_dirs`. ## Using embedded unittests diff --git a/docs/markdown/Release-notes-for-0.62.0.md b/docs/markdown/Release-notes-for-0.62.0.md index 83cd9b6..f5382df 100644 --- a/docs/markdown/Release-notes-for-0.62.0.md +++ b/docs/markdown/Release-notes-for-0.62.0.md @@ -376,14 +376,14 @@ Meson will now allow the pkg-config name to work in all cases using the followin ## D features in `declare_dependency` `declare_dependency`accepts parameters for D specific features. -Accepted new parameters are `d_module_features` and `d_import_dirs`. +Accepted new parameters are `d_module_versions` 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_module_versions: ['LUA_53'], d_import_dirs: include_directories('my_lua_folder'), ) ``` |