zstd/contrib/declib
Carl Woffenden 0a49353a46 Added generator script and simple test
The script will combine decompressor sources into a single file. The example shows this in use.
2019-08-23 18:43:29 +02:00
..
tests Added generator script and simple test 2019-08-23 18:43:29 +02:00
combine.sh Added generator script and simple test 2019-08-23 18:43:29 +02:00
README.md Added generator script and simple test 2019-08-23 18:43:29 +02:00
zstddeclib-in.c Added generator script and simple test 2019-08-23 18:43:29 +02:00

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).