Added generator script and simple test

The script will combine decompressor sources into a single file. The example shows this in use.
This commit is contained in:
Carl Woffenden
2019-08-23 18:43:29 +02:00
parent 901ea61f83
commit 0a49353a46
4 changed files with 3546 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# 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](tests) for examples).