The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.1 KiB

short-description
Auto-detection of features like ccache and code coverage

CCache is a cache system designed to make compiling faster. When you run Meson for the first time for a given project, it checks if CCache is installed. If it is, Meson will use it automatically.

If you do not wish to use CCache for some reason, just specify your compiler with environment variables CC and/or CXX when first running Meson (remember that once specified the compiler can not be changed). Meson will then use the specified compiler without CCache.

Coverage

When doing a code coverage build, Meson will check the existence of binaries gcovr, lcov and genhtml. If the first one is found, it will create targets called coverage-text and coverage-xml. If the latter two are found, it generates the target coverage-html. You can then generate coverage reports just by calling e.g. ninja coverage-xml.