README.md
1Meson build system for lz4
2==========================
3
4Meson is a build system designed to optimize programmer productivity.
5It aims to do this by providing simple, out-of-the-box support for
6modern software development tools and practices, such as unit tests,
7coverage reports, Valgrind, CCache and the like.
8
9This Meson build system is provided with no guarantee.
10
11## How to build
12
13`cd` to this meson directory (`contrib/meson`)
14
15```sh
16meson setup --buildtype=release -Ddefault_library=shared -Dbin_programs=true builddir
17cd builddir
18ninja # to build
19ninja install # to install
20```
21
22You might want to install it in staging directory:
23
24```sh
25DESTDIR=./staging ninja install
26```
27
28To configure build options, use:
29
30```sh
31meson configure
32```
33
34See [man meson(1)](https://manpages.debian.org/testing/meson/meson.1.en.html).
35