aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/compiler_argument_checking.md6
-rw-r--r--docs/markdown/snippets/required_project_arguments.md8
2 files changed, 6 insertions, 8 deletions
diff --git a/docs/markdown/snippets/compiler_argument_checking.md b/docs/markdown/snippets/compiler_argument_checking.md
new file mode 100644
index 0000000..0e038ec
--- /dev/null
+++ b/docs/markdown/snippets/compiler_argument_checking.md
@@ -0,0 +1,6 @@
+## Compiler argument checking for `get_supported_arguments`
+
+The compiler method `get_supported_arguments` now supports
+a new keyword argument named `checked` that can be set to
+one of `warn`, `require` or `off` (defaults to `off`) to
+enforce argument checks.
diff --git a/docs/markdown/snippets/required_project_arguments.md b/docs/markdown/snippets/required_project_arguments.md
deleted file mode 100644
index 40af830..0000000
--- a/docs/markdown/snippets/required_project_arguments.md
+++ /dev/null
@@ -1,8 +0,0 @@
-## 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.