aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorMarc Herbert <marc.herbert@gmail.com>2020-02-21 13:51:28 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2020-03-28 01:01:01 +0200
commitb2dc277c1e379588eb4795b2b93bbf3c34a1fed6 (patch)
tree319cedd0492142410cc329ed3d0d6ecadb0b6f23 /docs/markdown/Reference-manual.md
parent7fd42a5be4f30ddc48fd058e32169053f5f972d2 (diff)
downloadmeson-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/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md8
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.