summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/per_subproject_builtin.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/per_subproject_builtin.md')
-rw-r--r--docs/markdown/snippets/per_subproject_builtin.md15
1 files changed, 0 insertions, 15 deletions
diff --git a/docs/markdown/snippets/per_subproject_builtin.md b/docs/markdown/snippets/per_subproject_builtin.md
deleted file mode 100644
index 44ed1c866..000000000
--- a/docs/markdown/snippets/per_subproject_builtin.md
+++ /dev/null
@@ -1,15 +0,0 @@
-## Per subproject `default_library` option
-
-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.
-
-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')`),
-or by the user using the command line `-Dfoo:default_library=static`.
-
-The value is overriden in this order:
-- Value from parent project
-- Value from subproject's default_options if set
-- Value from subproject() default_options if set
-- Value from command line if set