appveyor.yml: generate DLL package
authorPrzemyslaw Skibinski <inikep@gmail.com>
Tue, 15 Nov 2016 12:29:33 +0000 (13:29 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Tue, 15 Nov 2016 12:29:33 +0000 (13:29 +0100)
appveyor.yml
lib/dll/fullbench-dll/Makefile [moved from lib/dll/Makefile with 100% similarity]
lib/dll/fullbench-dll/fullbench-dll.sln [moved from lib/dll/fullbench-dll.sln with 100% similarity]
lib/dll/fullbench-dll/fullbench-dll.vcxproj [moved from lib/dll/fullbench-dll.vcxproj with 96% similarity]

index 661b787..7bde6f3 100644 (file)
@@ -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
similarity index 96%
rename from lib/dll/fullbench-dll.vcxproj
rename to lib/dll/fullbench-dll/fullbench-dll.vcxproj
index b2abd55..57be0b8 100644 (file)
@@ -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>
       <TreatWarningAsError>true</TreatWarningAsError>
       <EnablePREfast>true</EnablePREfast>
       <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
+      <AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
     </ClCompile>
     <Link>
       <SubSystem>Console</SubSystem>
       <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <TreatWarningAsError>false</TreatWarningAsError>
       <EnablePREfast>false</EnablePREfast>
+      <AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
     </ClCompile>
     <Link>
       <SubSystem>Console</SubSystem>
       <TreatWarningAsError>false</TreatWarningAsError>
       <EnablePREfast>true</EnablePREfast>
       <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
+      <AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
     </ClCompile>
     <Link>
       <SubSystem>Console</SubSystem>