From 2abd5139a562a5dd84dc0a06b8c2a7ab6e3ce24f Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Tue, 27 Nov 2018 00:24:33 +0700 Subject: [PATCH] Add meson build guide --- contrib/meson/README | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/meson/README b/contrib/meson/README index 0b5331e6d..6641f64c9 100644 --- a/contrib/meson/README +++ b/contrib/meson/README @@ -1,3 +1,12 @@ This Meson project is provided with no guarantee and maintained by Dima Krasner . It outputs one libzstd, either shared or static, depending on default_library. + +How to build +============ + +`cd` to this meson directory (`zstd/contrib/meson`) and type: + + $ meson --buildtype=release --strip --prefix=/usr builddir + $ ninja # to build + $ ninja install # to install