]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add meson build guide
authorLzu Tao <taolzu@gmail.com>
Mon, 26 Nov 2018 17:24:33 +0000 (00:24 +0700)
committerLzu Tao <taolzu@gmail.com>
Tue, 27 Nov 2018 18:08:34 +0000 (01:08 +0700)
contrib/meson/README

index 0b5331e6dbfc752faa5bca2074a92442ffa20bb9..6641f64c9d502e9cd6ee97dc10ebfe721fbf6845 100644 (file)
@@ -1,3 +1,12 @@
 This Meson project is provided with no guarantee and maintained by Dima Krasner <dima@dimakrasner.com>.
 
 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