From 67cc636e5375dae03fb43807d2c5222b8c78910c Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev <0x416b617269@gmail.com> Date: Sat, 15 Sep 2018 07:09:14 +0300 Subject: Add 'clone-recursive' option for git wraps This causes Meson to clone the repo with the --recursive flag, pulling all of the submodules automatically. --- docs/markdown/Wrap-dependency-system-manual.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/markdown/Wrap-dependency-system-manual.md') diff --git a/docs/markdown/Wrap-dependency-system-manual.md b/docs/markdown/Wrap-dependency-system-manual.md index 38e1ab2..0977921 100644 --- a/docs/markdown/Wrap-dependency-system-manual.md +++ b/docs/markdown/Wrap-dependency-system-manual.md @@ -109,6 +109,13 @@ the end of your wrap file: push-url=git@git.example.com:projects/someproject.git # Supported since version 0.37.0 ``` +If the git repo contains submodules, you can tell Meson to clone them +automatically by adding the following *(since 0.48.0)*: + +```ini +clone-recursive=true +``` + ## Using wrapped projects To use a subproject simply do this in your top level `meson.build`. -- cgit v1.1