New features (in development)
fs.copyfile() now has a build_subdir argument
fs.copyfile()'s new build_subdir argument allows creating a file
inside a subdirectory of the current build directory.
Added depends kwarg to generator.process()
The generator.process() method now supports specifying depends as a kwarg
to extend the list of dependencies for generated files.
Support for Python 3.7, 3.8, and 3.9 dropped
Meson 1.12 is the first version to require Python version 3.10 or greater.
Support for older versions of Python is maintained with bug fixes only for some LTS releases. See the FAQ entry for more information.
Non-default members of Cargo workspaces can now be built
The new keyword argument extra_members to the workspace() method
allows configuring non-default members of a Cargo workspace. Previously,
non-default members were never used for dependency resolution and
could not be built.
meson test now accepts --exclude
meson test has a new --exclude argument to allow skipping named
tests. It takes a full test name and can be specified repeatedly. This
should help distributions that need to skip tests irrelevant for them
or known to be buggy.
werror=true now applies to the linker as well
When werror=true is set, Meson now passes the appropriate
fatal-warnings flag to the linker (for example --fatal-warnings
for GNU ld, -fatal_warnings for Apple ld, /WX for MSVC link).
Previously, werror=true only affected compiler warnings.
The results of the search are