meson/docs/markdown/Release-notes-for-0.42.0.md

39 lines
1.2 KiB
Markdown
Raw Normal View History

2017-06-13 04:22:48 +08:00
---
title: Release 0.42
short-description: Release notes for 0.42 (preliminary)
...
**Preliminary, 0.42.0 has not been released yet.**
# New features
2017-06-09 17:22:40 +08:00
## Distribution tarballs from Mercurial repositories
Creating distribution tarballs can now be made out of projects based on
Mercurial. As before, this remains possible only with the Ninja backend.
2017-06-26 01:33:14 +08:00
## Keyword argument verification
Meson will now check the keyword arguments used when calling any function
2017-06-27 01:39:00 +08:00
and print a warning if any of the keyword arguments is not known. In the
future this will become a hard error.
2017-06-26 20:58:15 +08:00
## Add support for Genie to Vala compiler
The Vala compiler has an alternative syntax, Genie, that uses the `.gs`
file extension. Meson now recognises and uses Genie files.
2017-06-28 00:01:00 +08:00
## Pkgconfig support for additional cflags
The Pkgconfig module object can add arbitrary extra cflags to the Cflags
value in the .pc file, using the "extra_cflags" keyword:
```meson
pkg.generate(libraries : libs,
subdirs : h,
version : '1.0',
name : 'libsimple',
filebase : 'simple',
description : 'A simple demo library.',
extra_cflags : '-Dfoo' )
```