summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-15 12:29:33 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-15 12:29:33 (GMT)
commit5625cc21eac2a62c91e3c4c5f6ee88840c209ec2 (patch)
treef21655a33859654aa3626c6fd2466c395116055e
parentc093e256d46b9dce0b19a9594a6bb622639ac754 (diff)
downloadlz4-5625cc21eac2a62c91e3c4c5f6ee88840c209ec2.zip
lz4-5625cc21eac2a62c91e3c4c5f6ee88840c209ec2.tar.gz
lz4-5625cc21eac2a62c91e3c4c5f6ee88840c209ec2.tar.bz2
appveyor.yml: generate DLL package
-rw-r--r--appveyor.yml17
-rw-r--r--lib/dll/fullbench-dll/Makefile (renamed from lib/dll/Makefile)0
-rw-r--r--lib/dll/fullbench-dll/fullbench-dll.sln (renamed from lib/dll/fullbench-dll.sln)0
-rw-r--r--lib/dll/fullbench-dll/fullbench-dll.vcxproj (renamed from lib/dll/fullbench-dll.vcxproj)4
4 files changed, 18 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 661b787..7bde6f3 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -22,7 +22,7 @@ environment:
install:
- ECHO Installing %COMPILER% %PLATFORM% %CONFIGURATION%
- - MKDIR bin bin\x86 bin\x64
+ - MKDIR bin
- if [%COMPILER%]==[gcc] SET PATH_ORIGINAL=%PATH%
- if [%COMPILER%]==[gcc] (
SET "PATH_MINGW32=c:\MinGW\bin;c:\MinGW\usr\bin" &&
@@ -55,8 +55,19 @@ build_script:
)
)
- if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw64] (
- COPY lib\liblz4.* bin\x64\ &&
- 7z a bin\liblz4-dll_x64.zip bin\x64\* &&
+ MKDIR bin\dll bin\static bin\fullbench bin\include &&
+ COPY tests\fullbench.c bin\fullbench\ &&
+ COPY lib\xxhash.c bin\fullbench\ &&
+ COPY lib\xxhash.h bin\fullbench\ &&
+ COPY lib\lz4.h bin\include\ &&
+ COPY lib\lz4hc.h bin\include\ &&
+ COPY lib\lz4frame.h bin\include\ &&
+ COPY lib\dll\liblz4.* bin\dll\ &&
+ COPY lib\dll\fullbench-dll\Makefile bin\ &&
+ COPY lib\dll\fullbench-dll\fullbench-dll.* bin\fullbench\ &&
+ COPY lib\dll\README.md bin\ &&
+ COPY lib\liblz4.a bin\static\liblz4_static.lib &&
+ 7z.exe a bin\liblz4-dll_x64.zip .\bin\fullbench .\bin\dll .\bin\static .\bin\include .\bin\Makefile .\bin\README.md &&
appveyor PushArtifact bin\liblz4-dll_x64.zip &&
COPY programs\lz4.exe bin\lz4.exe &&
appveyor PushArtifact bin\lz4.exe
diff --git a/lib/dll/Makefile b/lib/dll/fullbench-dll/Makefile
index 32e13fc..32e13fc 100644
--- a/lib/dll/Makefile
+++ b/lib/dll/fullbench-dll/Makefile
diff --git a/lib/dll/fullbench-dll.sln b/lib/dll/fullbench-dll/fullbench-dll.sln
index 72e302e..72e302e 100644
--- a/lib/dll/fullbench-dll.sln
+++ b/lib/dll/fullbench-dll/fullbench-dll.sln
diff --git a/lib/dll/fullbench-dll.vcxproj b/lib/dll/fullbench-dll/fullbench-dll.vcxproj
index b2abd55..57be0b8 100644
--- a/lib/dll/fullbench-dll.vcxproj
+++ b/lib/dll/fullbench-dll/fullbench-dll.vcxproj
@@ -91,6 +91,7 @@
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<TreatWarningAsError>true</TreatWarningAsError>
<EnablePREfast>false</EnablePREfast>
+ <AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -109,6 +110,7 @@
<TreatWarningAsError>true</TreatWarningAsError>
<EnablePREfast>true</EnablePREfast>
<AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -128,6 +130,7 @@
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<TreatWarningAsError>false</TreatWarningAsError>
<EnablePREfast>false</EnablePREfast>
+ <AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -150,6 +153,7 @@
<TreatWarningAsError>false</TreatWarningAsError>
<EnablePREfast>true</EnablePREfast>
<AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>