aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/install_skip_subprojects.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/snippets/install_skip_subprojects.md b/docs/markdown/snippets/install_skip_subprojects.md
new file mode 100644
index 0000000..16105a9
--- /dev/null
+++ b/docs/markdown/snippets/install_skip_subprojects.md
@@ -0,0 +1,10 @@
+## Skip subprojects installation
+
+It is now possible to skip installation of some or all subprojects. This is
+useful when subprojects are internal dependencies static linked into the main
+project.
+
+By default all subprojects are still installed.
+- `meson install -C builddir --skip-subprojects` installs only the main project.
+- `meson install -C builddir --skip-subprojects foo,bar` installs the main project
+ and all subprojects except for subprojects `foo` and `bar` if they are used.