The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
903 B
903 B
introspect --scan-dependencies
can now be used to scan for dependencies used in a project
It is now possible to run meson introspect --scan-dependencies /path/to/meson.build
without a configured build directory to scan for dependencies.
The output format is as follows:
[
{
"name": "The name of the dependency",
"required": true,
"conditional": false,
"has_fallback": false
}
]
The required
keyword specifies whether the dependency is marked as required
in the meson.build
(all dependencies are required by default). The
conditional
key indicates whether the dependency()
function was called
inside a conditional block. In a real meson run these dependencies might not be
used, thus they may not be required, even if the required
key is set. The
has_fallback
key just indicates whether a fallback was directly set in the
dependency()
function.