diff options
Diffstat (limited to 'docs/markdown/Feature-autodetection.md')
-rw-r--r-- | docs/markdown/Feature-autodetection.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/markdown/Feature-autodetection.md b/docs/markdown/Feature-autodetection.md new file mode 100644 index 0000000..b6a4f41 --- /dev/null +++ b/docs/markdown/Feature-autodetection.md @@ -0,0 +1,15 @@ +# Feature autodetection + +Meson is designed for high productivity. It tries to do as many things automatically as it possibly can. + +CCache +-- + +[CCache](http://ccache.samba.org/) 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 existance 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`. |