diff options
author | Marc Herbert <marc.herbert@gmail.com> | 2020-02-21 13:51:28 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-03-28 01:01:01 +0200 |
commit | b2dc277c1e379588eb4795b2b93bbf3c34a1fed6 (patch) | |
tree | 319cedd0492142410cc329ed3d0d6ecadb0b6f23 /docs/markdown | |
parent | 7fd42a5be4f30ddc48fd058e32169053f5f972d2 (diff) | |
download | meson-b2dc277c1e379588eb4795b2b93bbf3c34a1fed6.zip meson-b2dc277c1e379588eb4795b2b93bbf3c34a1fed6.tar.gz meson-b2dc277c1e379588eb4795b2b93bbf3c34a1fed6.tar.bz2 |
docs: why 'ninja test' depends on build_by_default targets [skip ci]
Fixes #1949
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Reference-manual.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index dd5893c..ab7605d 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -320,8 +320,12 @@ is the name of this target and the keyword arguments are the following. - `build_by_default` *(added 0.38)* causes, when set to true, to - have this target be built by default, that is, when invoking plain - `ninja`; the default value is false + have this target be built by default. This means it will be built when + `ninja` is called without any arguments or asked to build a target + like `ninja test` that depends on ninja's [default + target](https://ninja-build.org/manual.html#_default_target_statements) + set to `all` by meson. The same behavior applies for backends other + than `ninja`. The default value is `false`. *(changed in 0.50)* if `build_by_default` is explicitly set to false, `install` will no longer override it. If `build_by_default` is not set, `install` will still determine its default. |