diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-09-23 14:18:21 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-10-02 00:48:12 +0530 |
commit | 9d1aeebc27c5077ede5f47463e66f184529c03f0 (patch) | |
tree | 38963a79e5aa2308df9c28fcb0b4761ed10cb611 /mesonbuild/scripts/gtkdochelper.py | |
parent | e713aca1d13116a1b951925f5e7d86532a0ed305 (diff) | |
download | meson-9d1aeebc27c5077ede5f47463e66f184529c03f0.zip meson-9d1aeebc27c5077ede5f47463e66f184529c03f0.tar.gz meson-9d1aeebc27c5077ede5f47463e66f184529c03f0.tar.bz2 |
ninja: Don't add every CustomTarget to 'all'
Otherwise they are built regardless of whether they are actually used by
anything else. Only build them if they're going to be installed or
always-built.
Ideally, we should also do this with all BuildTargets, and provide
a mechanism for people to specify which targets they want built with
'all', and a way for people to add them to custom targets.. Without
this, things like tests and examples are *always* built with no way to
turn that off.
For now, we just do this because it also with tests that check for
dependency issues. Including all CustomTargets in `all` results in
dangling targets to also be built, which hides the problem and makes it
racy.
Diffstat (limited to 'mesonbuild/scripts/gtkdochelper.py')
0 files changed, 0 insertions, 0 deletions