diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-16 19:23:35 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-17 14:33:02 -0400 |
| commit | b13a95c30156c0c9ebf11ceb664acee08a835b2c (patch) | |
| tree | 5e32b069bfa309b804f1c0a54c8d599e35371fe6 /docs/markdown | |
| parent | e99e55d0aa6209388ce76db42322b18006fbaaad (diff) | |
| download | meson-b13a95c30156c0c9ebf11ceb664acee08a835b2c.tar.gz | |
docs: d_module_versions has an undocumented ability to accept integers
Dlang uses both integer version "levels" and arbitrary string
identifiers, and we support both, but don't mention it in the docs.
Also update a test case to pass one via declare_dependency. We already
test this kwarg for build_target.
Diffstat (limited to 'docs/markdown')
| -rw-r--r-- | docs/markdown/D.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/D.md b/docs/markdown/D.md index 7ade5c85d..03d4047b7 100644 --- a/docs/markdown/D.md +++ b/docs/markdown/D.md @@ -95,7 +95,7 @@ my_lib = library('mylib', install: true, version: meson.project_version(), soversion: project_soversion, - d_module_versions: ['FeatureA', 'featureB'] + d_module_versions: ['FeatureA', 'featureB', 1] ) pkgc = import('pkgconfig') @@ -104,7 +104,7 @@ pkgc.generate(name: 'mylib', subdirs: 'd/mylib', version: meson.project_version(), description: 'A simple example D library.', - d_module_versions: ['FeatureA'] + d_module_versions: ['FeatureA', 1] ) install_subdir('src/mylib/', install_dir: 'include/d/mylib/') ``` |
