]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Documentation
authorGeorge Lu <gclu@fb.com>
Mon, 4 Jun 2018 16:56:37 +0000 (09:56 -0700)
committerGeorge Lu <gclu@fb.com>
Mon, 4 Jun 2018 16:56:37 +0000 (09:56 -0700)
lib/README.md

index 95196e46784cd3ab5634f9252311e928385959c9..75debe872f93fb19aca0f4367f88d76fbf7ccaf8 100644 (file)
@@ -61,6 +61,10 @@ It's possible to compile only a limited set of features.
         Each version also provides an additional dedicated set of advanced API.
         For example, advanced API for version `v0.4` is exposed in `lib/legacy/zstd_v04.h` .
         Note : `lib/legacy` only supports _decoding_ legacy formats.
+- Similarly, you can define `ZSTD_LIB_COMPRESSION, ZSTD_LIB_DECOMPRESSION`, `ZSTD_LIB_DICTBUILDER`, 
+        and `ZSTD_LIB_DEPRECATED` as 0 to forgo compilation of the corresponding features. This will 
+        also disable compilation of all dependencies (eg. `ZSTD_LIB_COMPRESSION=0` will also disable
+        dictBuilder). 
 
 
 #### Multithreading support