mirror of
https://github.com/facebook/zstd.git
synced 2025-12-06 00:02:05 -05:00
The script will combine decompressor sources into a single file. The example shows this in use.
Single File Zstandard Decompression Library
Create the file using the shell script:
cd zstd/contrib/declib
./combine.sh -r "../../lib ../../lib/common ../../lib/decompress" zstddeclib-in.c > zstddeclib.c
Then add the resulting file to your project (see the test sources for examples).