diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-12-05 08:03:41 +0530 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-12-05 02:40:34 +0000 |
| commit | c502ddfebfdffe1a8bfa84d15fe782b5e98af5e4 (patch) | |
| tree | 9d8ee4d82895cb9a599dffb706eefa0447ad72aa /docs/markdown/Release-notes-for-0.48.0.md | |
| parent | febd3e8524a2ca63f4728a51c5edd19451d6c5fc (diff) | |
| download | meson-c502ddfebfdffe1a8bfa84d15fe782b5e98af5e4.tar.gz | |
docs: Document subproject(... required: false) [skip ci]
Somehow this was missed in the original PR #3885
Diffstat (limited to 'docs/markdown/Release-notes-for-0.48.0.md')
| -rw-r--r-- | docs/markdown/Release-notes-for-0.48.0.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Release-notes-for-0.48.0.md b/docs/markdown/Release-notes-for-0.48.0.md index 99673a469..270a68955 100644 --- a/docs/markdown/Release-notes-for-0.48.0.md +++ b/docs/markdown/Release-notes-for-0.48.0.md @@ -305,3 +305,9 @@ To enable this, the following needs to be added to the `.wrap` file: ```ini clone-recursive=true ``` + +## `subproject()` function now supports the `required:` kwarg + +This allows you to declare an optional subproject. You can now call `found()` +on the return value of the `subproject()` call to see if the subproject is +available before calling `get_variable()` to fetch information from it. |
