aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-03-18 09:48:00 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-03-24 22:48:55 +0200
commit4d7ccd13990feed8fa5c8a9c3fa9bdf5949e3a04 (patch)
treeb5a08a1666a78927996afc1226a57f241248593e /docs/markdown/snippets
parentb3fe9fa5d86bf48649adf72333531f6e164ab381 (diff)
downloadmeson-4d7ccd13990feed8fa5c8a9c3fa9bdf5949e3a04.zip
meson-4d7ccd13990feed8fa5c8a9c3fa9bdf5949e3a04.tar.gz
meson-4d7ccd13990feed8fa5c8a9c3fa9bdf5949e3a04.tar.bz2
Make werror per subproject option
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/per_subproject_builtin.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/markdown/snippets/per_subproject_builtin.md b/docs/markdown/snippets/per_subproject_builtin.md
index 44ed1c8..b0c3ce9 100644
--- a/docs/markdown/snippets/per_subproject_builtin.md
+++ b/docs/markdown/snippets/per_subproject_builtin.md
@@ -1,8 +1,9 @@
-## Per subproject `default_library` option
+## Per subproject `default_library` and `werror` options
-The `default_library` built-in option can now be defined per subproject. This is
-useful for example when building shared libraries in the main project, but static
-link a subproject.
+The `default_library` and `werror` built-in options can now be defined per subproject.
+This is useful for example when building shared libraries in the main project,
+but static link a subproject, or when the main project must build with no warnings
+but some subprojects cannot.
Most of the time this would be used either by the parent project by setting
subproject's default_options (e.g. `subproject('foo', default_options: 'default_library=static')`),