summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-16 08:53:07 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-16 08:53:07 (GMT)
commit8b48d5e446267418082b4d389fa6729e5a03a823 (patch)
tree7a3d828d8f7af69ed825f4435bef6cb2ed0bd396
parent11f6217cc287d1b8d79b40361ed6b6ce6ef42172 (diff)
downloadlz4-8b48d5e446267418082b4d389fa6729e5a03a823.zip
lz4-8b48d5e446267418082b4d389fa6729e5a03a823.tar.gz
lz4-8b48d5e446267418082b4d389fa6729e5a03a823.tar.bz2
updated example\README.md
-rw-r--r--appveyor.yml6
-rw-r--r--lib/dll/example/README.md15
2 files changed, 12 insertions, 9 deletions
diff --git a/appveyor.yml b/appveyor.yml
index dd9a700..d1245c8 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -70,11 +70,11 @@ build_script:
COPY programs\lz4.exe bin\lz4.exe
)
- if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw64] (
- 7z.exe a bin\lz4_x64.zip .\bin\lz4.exe .\bin\fullbench .\bin\dll .\bin\static .\bin\include .\bin\Makefile .\bin\README.md &&
+ 7z.exe a bin\lz4_x64.zip .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\static .\bin\include &&
appveyor PushArtifact bin\lz4_x64.zip
)
- if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw32] (
- 7z.exe a bin\lz4_x86.zip .\bin\lz4.exe .\bin\fullbench .\bin\dll .\bin\static .\bin\include .\bin\Makefile .\bin\README.md &&
+ 7z.exe a bin\lz4_x86.zip .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\static .\bin\include &&
appveyor PushArtifact bin\lz4_x86.zip
)
- if [%COMPILER%]==[gcc] (COPY tests\fullbench.exe programs\)
@@ -124,6 +124,7 @@ deploy:
auth_token:
secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
force_update: true
+ prerelease: true
on:
COMPILER: gcc
PLATFORM: "mingw64"
@@ -135,6 +136,7 @@ deploy:
auth_token:
secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
force_update: true
+ prerelease: true
on:
COMPILER: gcc
PLATFORM: "mingw32"
diff --git a/lib/dll/example/README.md b/lib/dll/example/README.md
index bb3dbd6..6f2b402 100644
--- a/lib/dll/example/README.md
+++ b/lib/dll/example/README.md
@@ -3,16 +3,17 @@ The static and dynamic LZ4 libraries
#### The package contents
-- `dll\liblz4.dll` : The DLL of LZ4 library
-- `dll\liblz4.lib` : The import library of LZ4 library for Visual C++
-- `fullbench\` : The example of usage of LZ4 library
-- `include\` : Header files required with LZ4 library
+- `lz4.exe` : Command Line Utility, supporting gzip-like arguments
+- `dll\liblz4.dll` : The DLL of LZ4 library
+- `dll\liblz4.lib` : The import library of LZ4 library for Visual C++
+- `example\` : The example of usage of LZ4 library
+- `include\` : Header files required with LZ4 library
- `static\liblz4_static.lib` : The static LZ4 library
#### The example of usage of static and dynamic LZ4 libraries with gcc/MinGW
-Use `make` to build `fullbench-dll` and `fullbench-lib`.
+Use `cd example` and `make` to build `fullbench-dll` and `fullbench-lib`.
`fullbench-dll` uses a dynamic LZ4 library from the `dll` directory.
`fullbench-lib` uses a static LZ4 library from the `lib` directory.
@@ -25,14 +26,14 @@ The dynamic library has to be added to linking options.
It means that if a project that uses LZ4 consists of a single `test-dll.c`
file it should be compiled with "liblz4.dll". For example:
```
- gcc $(CFLAGS) -Iinclude/ test-dll.c -o test-dll dll\liblz4.dll
+ gcc $(CFLAGS) -Iinclude\ test-dll.c -o test-dll dll\liblz4.dll
```
The compiled executable will require LZ4 DLL which is available at `dll\liblz4.dll`.
#### The example of usage of static and dynamic LZ4 libraries with Visual C++
-Open `fullbench\fullbench-dll.sln` to compile `fullbench-dll` that uses a
+Open `example\fullbench-dll.sln` to compile `fullbench-dll` that uses a
dynamic LZ4 library from the `dll` directory. The solution works with Visual C++
2010 or newer. When one will open the solution with Visual C++ newer than 2010
then the solution will upgraded to the current version.