Skip to content

Commit a78a94b

Browse files
author
Ladislav Zezula
committed
Added deflate part of ZLIB
1 parent 737a870 commit a78a94b

15 files changed

+3915
-20
lines changed

CascLib_vs08.vcproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,10 @@
12451245
RelativePath=".\src\zlib\crc32.c"
12461246
>
12471247
</File>
1248+
<File
1249+
RelativePath=".\src\zlib\deflate.c"
1250+
>
1251+
</File>
12481252
<File
12491253
RelativePath=".\src\zlib\inffast.c"
12501254
>
@@ -1257,6 +1261,10 @@
12571261
RelativePath=".\src\zlib\inftrees.c"
12581262
>
12591263
</File>
1264+
<File
1265+
RelativePath=".\src\zlib\trees.c"
1266+
>
1267+
</File>
12601268
<File
12611269
RelativePath=".\src\zlib\zutil.c"
12621270
>

CascLib_vs08_dll.vcproj

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,10 @@
505505
RelativePath=".\src\zlib\crc32.c"
506506
>
507507
</File>
508+
<File
509+
RelativePath=".\src\zlib\deflate.c"
510+
>
511+
</File>
508512
<File
509513
RelativePath=".\src\zlib\inffast.c"
510514
>
@@ -517,6 +521,10 @@
517521
RelativePath=".\src\zlib\inftrees.c"
518522
>
519523
</File>
524+
<File
525+
RelativePath=".\src\zlib\trees.c"
526+
>
527+
</File>
520528
<File
521529
RelativePath=".\src\zlib\zutil.c"
522530
>
@@ -542,11 +550,11 @@
542550
RelativePath=".\src\common\FileStream.h"
543551
>
544552
</File>
553+
<File
554+
RelativePath=".\src\resource.h"
555+
>
556+
</File>
545557
</Filter>
546-
<File
547-
RelativePath=".\src\resource.h"
548-
>
549-
</File>
550558
</Files>
551559
<Globals>
552560
</Globals>

CascLib_vs08_test.vcproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,10 @@
616616
/>
617617
</FileConfiguration>
618618
</File>
619+
<File
620+
RelativePath=".\src\zlib\deflate.c"
621+
>
622+
</File>
619623
<File
620624
RelativePath=".\src\zlib\inffast.c"
621625
>
@@ -724,6 +728,10 @@
724728
/>
725729
</FileConfiguration>
726730
</File>
731+
<File
732+
RelativePath=".\src\zlib\trees.c"
733+
>
734+
</File>
727735
<File
728736
RelativePath=".\src\zlib\zutil.c"
729737
>

CascLib_vs19.vcxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@
7171
<ProjectGuid>{78424708-1F6E-4D4B-920C-FB6D26847055}</ProjectGuid>
7272
<RootNamespace>CascLib</RootNamespace>
7373
<Keyword>Win32Proj</Keyword>
74-
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
74+
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
7575
<XPDeprecationWarning>false</XPDeprecationWarning>
7676
<ConfigurationType>StaticLibrary</ConfigurationType>
77-
<PlatformToolset>v142</PlatformToolset>
77+
<PlatformToolset>v141</PlatformToolset>
7878
</PropertyGroup>
7979
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
8080
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseUS|Win32'" Label="Configuration">
@@ -610,9 +610,11 @@
610610
<ClCompile Include="src\md5\md5.cpp" />
611611
<ClCompile Include="src\zlib\adler32.c" />
612612
<ClCompile Include="src\zlib\crc32.c" />
613+
<ClCompile Include="src\zlib\deflate.c" />
613614
<ClCompile Include="src\zlib\inffast.c" />
614615
<ClCompile Include="src\zlib\inflate.c" />
615616
<ClCompile Include="src\zlib\inftrees.c" />
617+
<ClCompile Include="src\zlib\trees.c" />
616618
<ClCompile Include="src\zlib\zutil.c" />
617619
</ItemGroup>
618620
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

CascLib_vs19.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,11 @@
166166
<ClCompile Include="src\md5\md5.cpp">
167167
<Filter>Source Files\md5</Filter>
168168
</ClCompile>
169+
<ClCompile Include="src\zlib\deflate.c">
170+
<Filter>Source Files\zlib</Filter>
171+
</ClCompile>
172+
<ClCompile Include="src\zlib\trees.c">
173+
<Filter>Source Files\zlib</Filter>
174+
</ClCompile>
169175
</ItemGroup>
170176
</Project>

CascLib_vs19_dll.vcxproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@
2323
<ProjectGuid>{CB385198-50B1-4CF4-883B-11F042DED6AA}</ProjectGuid>
2424
<RootNamespace>CascLib_dll</RootNamespace>
2525
<Keyword>Win32Proj</Keyword>
26-
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
26+
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
2727
</PropertyGroup>
2828
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2929
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
3030
<ConfigurationType>DynamicLibrary</ConfigurationType>
31-
<PlatformToolset>v142</PlatformToolset>
31+
<PlatformToolset>v141</PlatformToolset>
3232
<CharacterSet>MultiByte</CharacterSet>
3333
<WholeProgramOptimization>true</WholeProgramOptimization>
3434
</PropertyGroup>
3535
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3636
<ConfigurationType>DynamicLibrary</ConfigurationType>
37-
<PlatformToolset>v142</PlatformToolset>
37+
<PlatformToolset>v141</PlatformToolset>
3838
<CharacterSet>MultiByte</CharacterSet>
3939
</PropertyGroup>
4040
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4141
<ConfigurationType>DynamicLibrary</ConfigurationType>
42-
<PlatformToolset>v142</PlatformToolset>
42+
<PlatformToolset>v141</PlatformToolset>
4343
<CharacterSet>MultiByte</CharacterSet>
4444
<WholeProgramOptimization>true</WholeProgramOptimization>
4545
</PropertyGroup>
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4747
<ConfigurationType>DynamicLibrary</ConfigurationType>
48-
<PlatformToolset>v142</PlatformToolset>
48+
<PlatformToolset>v141</PlatformToolset>
4949
<CharacterSet>MultiByte</CharacterSet>
5050
</PropertyGroup>
5151
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
@@ -223,6 +223,7 @@
223223
<ClCompile Include="src\zlib\inffast.c" />
224224
<ClCompile Include="src\zlib\inflate.c" />
225225
<ClCompile Include="src\zlib\inftrees.c" />
226+
<ClCompile Include="src\zlib\trees.c" />
226227
<ClCompile Include="src\zlib\zutil.c" />
227228
</ItemGroup>
228229
<ItemGroup>
@@ -240,6 +241,7 @@
240241
<ClInclude Include="src\common\RootHandler.h" />
241242
<ClInclude Include="src\FileStream.h" />
242243
<ClInclude Include="src\md5\md5.h" />
244+
<ClInclude Include="src\zlib\deflate.h" />
243245
</ItemGroup>
244246
<ItemGroup>
245247
<ResourceCompile Include="src\DllMain.rc" />

CascLib_vs19_dll.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
<ClCompile Include="src\md5\md5.cpp">
118118
<Filter>Source Files\md5</Filter>
119119
</ClCompile>
120+
<ClCompile Include="src\zlib\trees.c">
121+
<Filter>Source Files\zlib</Filter>
122+
</ClCompile>
120123
</ItemGroup>
121124
<ItemGroup>
122125
<ClInclude Include="src\common\Common.h">
@@ -161,6 +164,9 @@
161164
<ClInclude Include="src\CascStructs.h">
162165
<Filter>Header Files</Filter>
163166
</ClInclude>
167+
<ClInclude Include="src\zlib\deflate.h">
168+
<Filter>Source Files\zlib</Filter>
169+
</ClInclude>
164170
</ItemGroup>
165171
<ItemGroup>
166172
<ResourceCompile Include="src\DllMain.rc">

CascLib_vs19_test.vcxproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,30 @@
2222
<ProjectName>CascLib_test</ProjectName>
2323
<ProjectGuid>{9403EA00-98F8-4D02-80B0-65D9168B0CCC}</ProjectGuid>
2424
<RootNamespace>CascLib_test</RootNamespace>
25-
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
25+
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
2626
</PropertyGroup>
2727
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2929
<ConfigurationType>Application</ConfigurationType>
30-
<PlatformToolset>v142</PlatformToolset>
30+
<PlatformToolset>v141</PlatformToolset>
3131
<UseOfMfc>false</UseOfMfc>
3232
<CharacterSet>Unicode</CharacterSet>
3333
</PropertyGroup>
3434
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3535
<ConfigurationType>Application</ConfigurationType>
36-
<PlatformToolset>v142</PlatformToolset>
36+
<PlatformToolset>v141</PlatformToolset>
3737
<UseOfMfc>false</UseOfMfc>
3838
<CharacterSet>Unicode</CharacterSet>
3939
</PropertyGroup>
4040
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4141
<ConfigurationType>Application</ConfigurationType>
42-
<PlatformToolset>v142</PlatformToolset>
42+
<PlatformToolset>v141</PlatformToolset>
4343
<UseOfMfc>false</UseOfMfc>
4444
<CharacterSet>Unicode</CharacterSet>
4545
</PropertyGroup>
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4747
<ConfigurationType>Application</ConfigurationType>
48-
<PlatformToolset>v142</PlatformToolset>
48+
<PlatformToolset>v141</PlatformToolset>
4949
<UseOfMfc>false</UseOfMfc>
5050
<CharacterSet>Unicode</CharacterSet>
5151
</PropertyGroup>
@@ -326,6 +326,7 @@
326326
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level3</WarningLevel>
327327
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Level3</WarningLevel>
328328
</ClCompile>
329+
<ClCompile Include="src\zlib\deflate.c" />
329330
<ClCompile Include="src\zlib\inffast.c">
330331
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level3</WarningLevel>
331332
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Level3</WarningLevel>
@@ -344,6 +345,7 @@
344345
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level3</WarningLevel>
345346
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Level3</WarningLevel>
346347
</ClCompile>
348+
<ClCompile Include="src\zlib\trees.c" />
347349
<ClCompile Include="src\zlib\zutil.c">
348350
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level3</WarningLevel>
349351
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Level3</WarningLevel>

CascLib_vs19_test.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@
121121
<ClCompile Include="src\md5\md5.cpp">
122122
<Filter>Source Files\md5</Filter>
123123
</ClCompile>
124+
<ClCompile Include="src\zlib\deflate.c">
125+
<Filter>Source Files\zlib</Filter>
126+
</ClCompile>
127+
<ClCompile Include="src\zlib\trees.c">
128+
<Filter>Source Files\zlib</Filter>
129+
</ClCompile>
124130
</ItemGroup>
125131
<ItemGroup>
126132
<ClInclude Include="src\common\Common.h">

sources

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE -DWDK_BUILD
66

77
SOURCES=sources-c.c \
88
sources-cpp.cpp
9-

0 commit comments

Comments
 (0)