From 2fabd4c7dc22373e99fc63823d80083ad30704b8 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 15 Feb 2021 16:00:12 -0500 Subject: minstall: Add --skip-subprojects option By default all subprojects are installed. If --skip-subprojects is given with no value only the main project is installed. If --skip-subprojects is given with a value, it should be a coma separated list of subprojects to skip and all others will be installed. Fixes: #2550. --- docs/markdown/snippets/install_skip_subprojects.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/markdown/snippets/install_skip_subprojects.md (limited to 'docs/markdown/snippets') 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. -- cgit v1.1