• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Meson build system for zstandard
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 and maintained
10by Dima Krasner \<dima@dimakrasner.com\>.
11
12It outputs one `libzstd`, either shared or static, depending on
13`default_library` option.
14
15## How to build
16
17`cd` to this meson directory (`build/meson`)
18
19```sh
20meson setup -Dbin_programs=true -Dbin_contrib=true builddir
21cd builddir
22ninja             # to build
23ninja install     # to install
24```
25
26You might want to install it in staging directory:
27
28```sh
29DESTDIR=./staging ninja install
30```
31
32To configure build options, use:
33
34```sh
35meson configure
36```
37
38See [man meson(1)](https://manpages.debian.org/testing/meson/meson.1.en.html).
39