Skip to content

Commit

Permalink
docs: why 'ninja test' depends on build_by_default targets [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Herbert committed Mar 24, 2020
1 parent 326e9dc commit 8c34859
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/markdown/Reference-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8c34859

Please sign in to comment.