140 changes: 140 additions & 0 deletions Externals/zlib-ng/zlib-ng.vcxproj
@@ -0,0 +1,140 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="..\..\Source\VSProps\Base.Macros.props" />
<Import Project="$(VSPropsDir)Base.Targets.props" />
<PropertyGroup Label="Globals">
<ProjectGuid>{F6EA7144-8D64-4EBB-A13E-76DFBD911EAE}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(VSPropsDir)Configuration.StaticLibrary.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VSPropsDir)Base.props" />
<Import Project="$(VSPropsDir)ClDisableAllWarnings.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup>
<ClCompile>
<!--For config files added by Dolphin-->
<AdditionalIncludeDirectories>.;zlib-ng;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>ZLIB_COMPAT;WITH_GZFILEOP;NO_FSEEKO;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Platform)'=='x64'">X86_FEATURES;X86_AVX2;X86_AVX2_ADLER32;X86_AVX_CHUNKSET;X86_AVX512;X86_AVX512_ADLER32;X86_MASK_INTRIN;X86_AVX512VNNI;X86_AVX512VNNI_ADLER32;X86_SSE41;X86_SSE42_CRC_HASH;X86_SSE42_ADLER32;X86_SSE42_CRC_INTRIN;X86_SSE2;X86_SSE2_CHUNKSET;X86_SSE2_SLIDEHASH;X86_SSSE3;X86_SSSE3_ADLER32;X86_PCLMULQDQ_CRC;X86_VPCLMULQDQ_CRC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<!--zlib-ng currently doesn't have proper detection of CRC32 on win/arm64, so use ARM_NOCHECK_ACLE-->
<PreprocessorDefinitions Condition="'$(Platform)'=='ARM64'">ARM_FEATURES;ARM_NOCHECK_ACLE;ARM_ACLE_CRC_HASH;ARM_NEON;ARM_NEON_ADLER32;ARM_NEON_CHUNKSET;ARM_NEON_SLIDEHASH;__ARM_NEON__;ARM_NEON_HASLD4;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup Condition="'$(Platform)'=='x64'">
<ClCompile Include="zlib-ng\arch\x86\adler32_avx2.c" />
<ClCompile Include="zlib-ng\arch\x86\adler32_avx512.c" />
<ClCompile Include="zlib-ng\arch\x86\adler32_avx512_vnni.c" />
<ClCompile Include="zlib-ng\arch\x86\adler32_sse42.c" />
<ClCompile Include="zlib-ng\arch\x86\adler32_ssse3.c" />
<ClCompile Include="zlib-ng\arch\x86\chunkset_avx.c" />
<ClCompile Include="zlib-ng\arch\x86\chunkset_sse2.c" />
<ClCompile Include="zlib-ng\arch\x86\chunkset_sse41.c" />
<ClCompile Include="zlib-ng\arch\x86\compare256_avx2.c" />
<ClCompile Include="zlib-ng\arch\x86\compare256_sse2.c" />
<ClCompile Include="zlib-ng\arch\x86\crc32_fold_pclmulqdq.c" />
<ClCompile Include="zlib-ng\arch\x86\crc32_fold_vpclmulqdq.c" />
<ClCompile Include="zlib-ng\arch\x86\insert_string_sse42.c" />
<ClCompile Include="zlib-ng\arch\x86\slide_hash_avx2.c" />
<ClCompile Include="zlib-ng\arch\x86\slide_hash_sse2.c" />
<ClCompile Include="zlib-ng\arch\x86\x86_features.c" />
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='ARM64'">
<ClCompile Include="zlib-ng\arch\arm\adler32_neon.c" />
<ClCompile Include="zlib-ng\arch\arm\arm_features.c" />
<ClCompile Include="zlib-ng\arch\arm\chunkset_neon.c" />
<ClCompile Include="zlib-ng\arch\arm\compare256_neon.c" />
<ClCompile Include="zlib-ng\arch\arm\crc32_acle.c" />
<ClCompile Include="zlib-ng\arch\arm\insert_string_acle.c" />
<ClCompile Include="zlib-ng\arch\arm\slide_hash_neon.c" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="zlib-ng\adler32.c" />
<ClCompile Include="zlib-ng\adler32_fold.c" />
<ClCompile Include="zlib-ng\chunkset.c" />
<ClCompile Include="zlib-ng\compare256.c" />
<ClCompile Include="zlib-ng\compress.c" />
<ClCompile Include="zlib-ng\cpu_features.c" />
<ClCompile Include="zlib-ng\crc32_braid.c" />
<ClCompile Include="zlib-ng\crc32_braid_comb.c" />
<ClCompile Include="zlib-ng\crc32_fold.c" />
<ClCompile Include="zlib-ng\deflate.c" />
<ClCompile Include="zlib-ng\deflate_fast.c" />
<ClCompile Include="zlib-ng\deflate_huff.c" />
<ClCompile Include="zlib-ng\deflate_medium.c" />
<ClCompile Include="zlib-ng\deflate_quick.c" />
<ClCompile Include="zlib-ng\deflate_rle.c" />
<ClCompile Include="zlib-ng\deflate_slow.c" />
<ClCompile Include="zlib-ng\deflate_stored.c" />
<ClCompile Include="zlib-ng\functable.c" />
<ClCompile Include="zlib-ng\gzlib.c" />
<ClCompile Include="zlib-ng\gzwrite.c" />
<ClCompile Include="zlib-ng\infback.c" />
<ClCompile Include="zlib-ng\inffast.c" />
<ClCompile Include="zlib-ng\inflate.c" />
<ClCompile Include="zlib-ng\inftrees.c" />
<ClCompile Include="zlib-ng\insert_string.c" />
<ClCompile Include="zlib-ng\insert_string_roll.c" />
<ClCompile Include="zlib-ng\slide_hash.c" />
<ClCompile Include="zlib-ng\trees.c" />
<ClCompile Include="zlib-ng\uncompr.c" />
<ClCompile Include="zlib-ng\zutil.c" />
</ItemGroup>
<ItemGroup>
<Text Include="zlib-ng\CMakeLists.txt" />
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='x64'">
<ClInclude Include="zlib-ng\arch\x86\adler32_avx2_p.h" />
<ClInclude Include="zlib-ng\arch\x86\adler32_avx2_tpl.h" />
<ClInclude Include="zlib-ng\arch\x86\adler32_avx512_p.h" />
<ClInclude Include="zlib-ng\arch\x86\adler32_avx512_tpl.h" />
<ClInclude Include="zlib-ng\arch\x86\adler32_ssse3_p.h" />
<ClInclude Include="zlib-ng\arch\x86\crc32_fold_pclmulqdq_tpl.h" />
<ClInclude Include="zlib-ng\arch\x86\crc32_fold_vpclmulqdq_tpl.h" />
<ClInclude Include="zlib-ng\arch\x86\x86_features.h" />
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='ARM64'">
<ClInclude Include="zlib-ng\arch\arm\arm_features.h" />
<ClInclude Include="zlib-ng\arch\arm\ctzl.h" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="zlib-ng\adler32_fold.h" />
<ClInclude Include="zlib-ng\adler32_p.h" />
<ClInclude Include="zlib-ng\chunkset_tpl.h" />
<ClInclude Include="zlib-ng\cpu_features.h" />
<ClInclude Include="zlib-ng\crc32_braid_comb_p.h" />
<ClInclude Include="zlib-ng\crc32_braid_p.h" />
<ClInclude Include="zlib-ng\crc32_braid_tbl.h" />
<ClInclude Include="zlib-ng\crc32_fold.h" />
<ClInclude Include="zlib-ng\deflate.h" />
<ClInclude Include="zlib-ng\deflate_p.h" />
<ClInclude Include="zlib-ng\fallback_builtins.h" />
<ClInclude Include="zlib-ng\functable.h" />
<ClInclude Include="zlib-ng\gzguts.h" />
<ClInclude Include="zlib-ng\inffast.h" />
<ClInclude Include="zlib-ng\inffixed_tbl.h" />
<ClInclude Include="zlib-ng\inflate.h" />
<ClInclude Include="zlib-ng\inflate_p.h" />
<ClInclude Include="zlib-ng\inftrees.h" />
<ClInclude Include="zlib-ng\insert_string_tpl.h" />
<ClInclude Include="zlib-ng\match_tpl.h" />
<ClInclude Include="zlib-ng\trees.h" />
<ClInclude Include="zlib-ng\trees_emit.h" />
<ClInclude Include="zlib-ng\trees_tbl.h" />
<ClInclude Include="zlib-ng\zbuild.h" />
<ClInclude Include="zlib-ng\zendian.h" />
<ClInclude Include="zlib-ng\zutil.h" />
<ClInclude Include="zlib-ng\zutil_p.h" />
<!--Added by Dolphin (copied from cmake output)-->
<ClInclude Include="zconf.h" />
<ClInclude Include="zlib_name_mangling.h" />
<ClInclude Include="zlib.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
759 changes: 351 additions & 408 deletions Externals/zlib/zlib.h → Externals/zlib-ng/zlib.h

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Externals/zlib-ng/zlib_name_mangling.h
@@ -0,0 +1,8 @@
/* zlib_name_mangling.h has been automatically generated from
* zlib_name_mangling.h.empty because ZLIB_SYMBOL_PREFIX was NOT set.
*/

#ifndef ZLIB_NAME_MANGLING_H
#define ZLIB_NAME_MANGLING_H

#endif /* ZLIB_NAME_MANGLING_H */
95 changes: 0 additions & 95 deletions Externals/zlib/CMakeLists.txt

This file was deleted.

1,515 changes: 0 additions & 1,515 deletions Externals/zlib/ChangeLog

This file was deleted.

186 changes: 0 additions & 186 deletions Externals/zlib/adler32.c

This file was deleted.

86 changes: 0 additions & 86 deletions Externals/zlib/compress.c

This file was deleted.

442 changes: 0 additions & 442 deletions Externals/zlib/crc32.c

This file was deleted.

441 changes: 0 additions & 441 deletions Externals/zlib/crc32.h

This file was deleted.

2,163 changes: 0 additions & 2,163 deletions Externals/zlib/deflate.c

This file was deleted.

349 changes: 0 additions & 349 deletions Externals/zlib/deflate.h

This file was deleted.

25 changes: 0 additions & 25 deletions Externals/zlib/gzclose.c

This file was deleted.

218 changes: 0 additions & 218 deletions Externals/zlib/gzguts.h

This file was deleted.

637 changes: 0 additions & 637 deletions Externals/zlib/gzlib.c

This file was deleted.

654 changes: 0 additions & 654 deletions Externals/zlib/gzread.c

This file was deleted.

665 changes: 0 additions & 665 deletions Externals/zlib/gzwrite.c

This file was deleted.

640 changes: 0 additions & 640 deletions Externals/zlib/infback.c

This file was deleted.

323 changes: 0 additions & 323 deletions Externals/zlib/inffast.c

This file was deleted.

11 changes: 0 additions & 11 deletions Externals/zlib/inffast.h

This file was deleted.

94 changes: 0 additions & 94 deletions Externals/zlib/inffixed.h

This file was deleted.

1,561 changes: 0 additions & 1,561 deletions Externals/zlib/inflate.c

This file was deleted.

125 changes: 0 additions & 125 deletions Externals/zlib/inflate.h

This file was deleted.

304 changes: 0 additions & 304 deletions Externals/zlib/inftrees.c

This file was deleted.

62 changes: 0 additions & 62 deletions Externals/zlib/inftrees.h

This file was deleted.

1,203 changes: 0 additions & 1,203 deletions Externals/zlib/trees.c

This file was deleted.

128 changes: 0 additions & 128 deletions Externals/zlib/trees.h

This file was deleted.

93 changes: 0 additions & 93 deletions Externals/zlib/uncompr.c

This file was deleted.