From 45b8623afa4e115244ae346c84f17751bf548fb9 Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Tue, 15 Nov 2016 13:49:20 +0100 Subject: updated lib\dll\README.md --- appveyor.yml | 4 ++-- lib/dll/README.md | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7bde6f3..6712554 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -47,11 +47,11 @@ build_script: make -v && echo ----- && if not [%PLATFORM%]==[clang] ( - make -C programs lz4 && make -C tests fullbench && make -C lib liblz4 + make -C programs lz4 && make -C tests fullbench && make -C lib lib ) ELSE ( make -C programs lz4 CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" && make -C tests fullbench CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" && - make -C lib liblz4 CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" + make -C lib lib CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" ) ) - if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw64] ( diff --git a/lib/dll/README.md b/lib/dll/README.md index bbbd768..d6b4e84 100644 --- a/lib/dll/README.md +++ b/lib/dll/README.md @@ -33,18 +33,21 @@ The compiled executable will require LZ4 DLL which is available at `dll\liblz4.d #### 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 -dynamic LZ4 library from the `dll` directory. +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. #### Using LZ4 DLL with Visual C++ The header files from `include\` and the import library `dll\liblz4.lib` are required to compile a project using Visual C++. -1. The header files should be added to a given project or referenced within - `Additional Include Directories` that can be found in project properties - `C/C++` then `General`. + +1. The header files should be added to `Additional Include Directories` that can + be found in project properties `C/C++` then `General`. 2. The import library has to be added to `Additional Dependencies` that can be found in project properties `Linker` then `Input`. If one will provide only the name `liblz4.lib` without a full path to the library the directory has to be added to `Linker\General\Additional Library Directories`. + The compiled executable will require LZ4 DLL which is available at `dll\liblz4.dll`. -- cgit v0.12