New features (in development)
clang-cl now accepts
clang-cl 13 or later.
coercing values in the option() function is deprecated
Currently code such as:
option('foo', type : 'boolean', value : 'false')
works, because Meson coerces
This should be avoided, and will now result in a deprecation warning.
declare_dependency(objects: ) argument
A new argument to
declare_dependency makes it possible to add objects
directly to executables that use an internal dependency, without going
for example through
Dump devenv into file and select format
meson devenv --dump [<filename>] command now takes an optional filename argument
to write the environment into a file instead of printing to stdout.
--dump-format argument has been added to select which shell format
should be used. There are currently 3 formats supported:
sh: Lines are in the format
export: Same as
shbut with extra
vscode: Same as
$VARsubstitution because they do not seems to be properly supported by vscode.
Generated objects can be passed in the
objects: keyword argument
In previous versions of Meson, generated objects could only be
passed as sources of a build target. This was confusing, therefore
generated objects can now be passed in the
argument as well.
The project function now supports setting the project license files
A new core directory option "licensedir" is available
This will install a dependency manifest to the specified directory, if none is is explicitly set.
The results of the search are