New features (in development)
Added a values()
method for dictionaries
Mesons built-in dict
type now supports the dict.values()
method
to retrieve the dictionary values as an array, analogous to the
dict.keys()
method.
dict = { 'b': 'world', 'a': 'hello' }
dict.keys() # Returns ['a', 'b']
dict.values() # Returns ['hello', 'world']
-Db_msvcrt
on clang
-Db_msvcrt
will now link the appropriate runtime library, and set
the appropriate preprocessor symbols, also when the compiler is clang.
Added new namingscheme
option
Traditionally Meson has named output targets so that they don't clash
with each other. This has meant, among other things, that on Windows
Meson uses a nonstandard .a
suffix for static libraries because both
static libraries and import libraries have the suffix .lib
.
There is now an option namingscheme
that can be set to
platform
. This new platform native naming scheme that replicates
what Rust does. That is, shared libraries on Windows get a suffix
.dll
, static libraries get .lib
and import libraries have the name
.dll.lib
.
We expect to change the default value of this option to platform
in
a future major version. Until that happens we reserve the right to
alter how platform
actually names its output files.
i18n.xgettext
now accepts CustomTarget and CustomTargetIndex as sources
Previously, custom_tgt
were accepted but silently ignored, and
custom_idx
were not accepted.
Now, they both can be used, and the generated outputs will be scanned to extract translation strings.
The results of the search are