Skip to content

Release notes for 0.38.0

Jussi Pakkanen edited this page Jan 6, 2017 · 22 revisions

This is preliminary. 0.38.0 has not been released yet.

Uninstall target

Meson allows you to uninstall an install step by invoking the uninstall target. This will remove all files installed as part of install. Note that this does not restore the original files. This also does not undo changes done by custom install scripts (because they can do arbitrary install operations).

Support for arbitrary test setups

Sometimes you need to run unit tests with special settings. For example under Valgrind. Usually this requires extra command line options for the tool. This is supported with the new test setup feature. For example to set up a test run with Valgrind, you'd write this in a meson.build file:

add_test_setup('valgrind',
  exe_wrapper : [vg, '--error-exitcode=1', '--leak-check=full'],
  timeout_multiplier : 100)

This tells Meson to run tests with Valgrind using the given options and multiplying the test timeout values by 100. To run this test setup simply issue the following command:

mesontest --setup=valgrind

Intel C/C++ compiler support

Currently only Linux is supported.

Get values from configuration data objects

Now it is possible to query values stored in configuration data objects.

cdata.set('key', 'value')
cdata.get('key') # returns 'value'
cdata.get('nokey', 'default') # returns 'default'
cdata.get('nokey') # halts with an error

Other Features

Add them here.

Meson documentation has moved

All documentation is now on the main web site.

This page should be at this address.

Clone this wiki locally