diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-05-18 20:50:03 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-08-01 14:26:01 +0100 |
commit | f2673d9b57d0134c293e7acf5af5a0b3364523fb (patch) | |
tree | 02266f8449cf50f7cda389c1f6193a2d40957c02 /mesonbuild/compilers | |
parent | 3576623b0f46dab27fbb243f6d5595916187642f (diff) | |
download | meson-f2673d9b57d0134c293e7acf5af5a0b3364523fb.zip meson-f2673d9b57d0134c293e7acf5af5a0b3364523fb.tar.gz meson-f2673d9b57d0134c293e7acf5af5a0b3364523fb.tar.bz2 |
Consolidate reporting result of a dependency check
If successful, we should identify the method which was successful
If successful, we should report the version found (if known)
If failing, we should identify the methods we tried
Some dependency detectors which had no reporting now gain it
There's all kinds of complexities, inconsistencies and special cases hidden
in the existing behaviour, e.g.:
- boost reports modules requested, and BOOST_ROOT (if set)
- gtest/gmock report if they are a prebuilt library or header only
- mpi reports the language
- qt reports modules requested, and the config tool used or tried
- configtool reports the config tool used
- llvm reports if missing modules are optional (one per line)
We add some simple hooks to allow the dependency object to expose the
currently reported information into the consolidated reporting
Note that PkgConfigDependency() takes a silent: keyword which is used
internallly to suppress reporting. This behaviour isn't needed in
find_external_dependency().
Diffstat (limited to 'mesonbuild/compilers')
0 files changed, 0 insertions, 0 deletions