diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/snippets/required_project_arguments.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/required_project_arguments.md b/docs/markdown/snippets/required_project_arguments.md new file mode 100644 index 0000000..e5dae70 --- /dev/null +++ b/docs/markdown/snippets/required_project_arguments.md @@ -0,0 +1,8 @@ +# Required project & global arguments + +The `add_global_arguments` & `add_project_arguments` functions now +support an optional keyword argument named `required`. Setting it +to `true` will cause Meson to perform compiler support checks on +each of the passed arguments as if by calling `has_argument`, which +means manual checks can now be avoided and instead expressed more +tersely. |