| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Project DefaultTargets="Build" ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 |
<ItemGroup Label="ProjectConfigurations"> |
| 4 |
<ProjectConfiguration Include="Debug|ARM"> |
| 5 |
<Configuration>Debug</Configuration> |
| 6 |
<Platform>ARM</Platform> |
| 7 |
</ProjectConfiguration> |
| 8 |
<ProjectConfiguration Include="Debug|ARM64"> |
| 9 |
<Configuration>Debug</Configuration> |
| 10 |
<Platform>ARM64</Platform> |
| 11 |
</ProjectConfiguration> |
| 12 |
<ProjectConfiguration Include="Debug|Win32"> |
| 13 |
<Configuration>Debug</Configuration> |
| 14 |
<Platform>Win32</Platform> |
| 15 |
</ProjectConfiguration> |
| 16 |
<ProjectConfiguration Include="Debug|x64"> |
| 17 |
<Configuration>Debug</Configuration> |
| 18 |
<Platform>x64</Platform> |
| 19 |
</ProjectConfiguration> |
| 20 |
<ProjectConfiguration Include="PGInstrument|ARM"> |
| 21 |
<Configuration>PGInstrument</Configuration> |
| 22 |
<Platform>ARM</Platform> |
| 23 |
</ProjectConfiguration> |
| 24 |
<ProjectConfiguration Include="PGInstrument|ARM64"> |
| 25 |
<Configuration>PGInstrument</Configuration> |
| 26 |
<Platform>ARM64</Platform> |
| 27 |
</ProjectConfiguration> |
| 28 |
<ProjectConfiguration Include="PGInstrument|Win32"> |
| 29 |
<Configuration>PGInstrument</Configuration> |
| 30 |
<Platform>Win32</Platform> |
| 31 |
</ProjectConfiguration> |
| 32 |
<ProjectConfiguration Include="PGInstrument|x64"> |
| 33 |
<Configuration>PGInstrument</Configuration> |
| 34 |
<Platform>x64</Platform> |
| 35 |
</ProjectConfiguration> |
| 36 |
<ProjectConfiguration Include="PGUpdate|ARM"> |
| 37 |
<Configuration>PGUpdate</Configuration> |
| 38 |
<Platform>ARM</Platform> |
| 39 |
</ProjectConfiguration> |
| 40 |
<ProjectConfiguration Include="PGUpdate|ARM64"> |
| 41 |
<Configuration>PGUpdate</Configuration> |
| 42 |
<Platform>ARM64</Platform> |
| 43 |
</ProjectConfiguration> |
| 44 |
<ProjectConfiguration Include="PGUpdate|Win32"> |
| 45 |
<Configuration>PGUpdate</Configuration> |
| 46 |
<Platform>Win32</Platform> |
| 47 |
</ProjectConfiguration> |
| 48 |
<ProjectConfiguration Include="PGUpdate|x64"> |
| 49 |
<Configuration>PGUpdate</Configuration> |
| 50 |
<Platform>x64</Platform> |
| 51 |
</ProjectConfiguration> |
| 52 |
<ProjectConfiguration Include="Release|ARM"> |
| 53 |
<Configuration>Release</Configuration> |
| 54 |
<Platform>ARM</Platform> |
| 55 |
</ProjectConfiguration> |
| 56 |
<ProjectConfiguration Include="Release|ARM64"> |
| 57 |
<Configuration>Release</Configuration> |
| 58 |
<Platform>ARM64</Platform> |
| 59 |
</ProjectConfiguration> |
| 60 |
<ProjectConfiguration Include="Release|Win32"> |
| 61 |
<Configuration>Release</Configuration> |
| 62 |
<Platform>Win32</Platform> |
| 63 |
</ProjectConfiguration> |
| 64 |
<ProjectConfiguration Include="Release|x64"> |
| 65 |
<Configuration>Release</Configuration> |
| 66 |
<Platform>x64</Platform> |
| 67 |
</ProjectConfiguration> |
| 68 |
</ItemGroup> |
| 69 |
<PropertyGroup Label="Globals"> |
| 70 |
<ProjectGuid>{FB91C8B2-6FBC-3A01-B644-1637111F902D}</ProjectGuid> |
| 71 |
<RootNamespace>zlib-ng</RootNamespace> |
| 72 |
<Keyword>Win32Proj</Keyword> |
| 73 |
</PropertyGroup> |
| 74 |
<Import Project="python.props" /> |
| 75 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 76 |
<PropertyGroup Label="Configuration"> |
| 77 |
<ConfigurationType>StaticLibrary</ConfigurationType> |
| 78 |
</PropertyGroup> |
| 79 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 80 |
<ImportGroup Label="ExtensionSettings"> |
| 81 |
</ImportGroup> |
| 82 |
<ImportGroup Label="PropertySheets"> |
| 83 |
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 84 |
<Import Project="pyproject.props" /> |
| 85 |
</ImportGroup> |
| 86 |
<PropertyGroup Label="UserMacros" /> |
| 87 |
<PropertyGroup> |
| 88 |
<_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion> |
| 89 |
</PropertyGroup> |
| 90 |
<ItemDefinitionGroup> |
| 91 |
<ClCompile> |
| 92 |
<AdditionalOptions>%(AdditionalOptions) /utf-8 /w34242</AdditionalOptions> |
| 93 |
<AdditionalOptions Condition="$(SupportPGO) and $(Configuration) == 'PGUpdate' and $(PlatformToolset) == 'ClangCL'">%(AdditionalOptions) -fno-profile-instr-use</AdditionalOptions> |
| 94 |
<DisableSpecificWarnings>4206;4054;4324</DisableSpecificWarnings> |
| 95 |
<LanguageStandard_C>stdc11</LanguageStandard_C> |
| 96 |
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
| 97 |
<AdditionalIncludeDirectories>$(zlibNgDir);$(PySourceDir)PC;$(GeneratedZlibNgDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 98 |
<PreprocessorDefinitions>%(PreprocessorDefinitions);ZLIB_COMPAT;WITH_GZFILEOP;NO_FSEEKO;HAVE_BUILTIN_ASSUME_ALIGNED;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;</PreprocessorDefinitions> |
| 99 |
<PreprocessorDefinitions Condition="$(Platform) == 'Win32' or $(Platform) == 'x64'">%(PreprocessorDefinitions);X86_FEATURES;X86_HAVE_XSAVE_INTRIN;X86_SSE2;X86_SSSE3;X86_SSE42;X86_PCLMULQDQ_CRC;X86_AVX2;X86_AVX512;X86_AVX512VNNI;X86_VPCLMULQDQ_CRC</PreprocessorDefinitions> |
| 100 |
<PreprocessorDefinitions Condition="$(Configuration) == 'Debug'">%(PreprocessorDefinitions);ZLIB_DEBUG</PreprocessorDefinitions> |
| 101 |
<PreprocessorDefinitions Condition="$(PlatformToolset) == 'ClangCL'">%(PreprocessorDefinitions);HAVE_BUILTIN_CTZ</PreprocessorDefinitions> |
| 102 |
</ClCompile> |
| 103 |
</ItemDefinitionGroup> |
| 104 |
<ItemGroup> |
| 105 |
<ClCompile Include="$(zlibNgDir)\arch\generic\adler32_c.c" /> |
| 106 |
<ClCompile Include="$(zlibNgDir)\arch\generic\adler32_fold_c.c" /> |
| 107 |
<ClCompile Include="$(zlibNgDir)\arch\generic\chunkset_c.c" /> |
| 108 |
<ClCompile Include="$(zlibNgDir)\arch\generic\compare256_c.c" /> |
| 109 |
<ClCompile Include="$(zlibNgDir)\arch\generic\crc32_braid_c.c" /> |
| 110 |
<ClCompile Include="$(zlibNgDir)\arch\generic\crc32_fold_c.c" /> |
| 111 |
<ClCompile Include="$(zlibNgDir)\arch\generic\slide_hash_c.c" /> |
| 112 |
<ClCompile Include="$(zlibNgDir)\adler32.c" /> |
| 113 |
<ClCompile Include="$(zlibNgDir)\compress.c" /> |
| 114 |
<ClCompile Include="$(zlibNgDir)\crc32.c" /> |
| 115 |
<ClCompile Include="$(zlibNgDir)\crc32_braid_comb.c" /> |
| 116 |
<ClCompile Include="$(zlibNgDir)\deflate.c" /> |
| 117 |
<ClCompile Include="$(zlibNgDir)\deflate_fast.c" /> |
| 118 |
<ClCompile Include="$(zlibNgDir)\deflate_huff.c" /> |
| 119 |
<ClCompile Include="$(zlibNgDir)\deflate_medium.c" /> |
| 120 |
<ClCompile Include="$(zlibNgDir)\deflate_quick.c" /> |
| 121 |
<ClCompile Include="$(zlibNgDir)\deflate_rle.c" /> |
| 122 |
<ClCompile Include="$(zlibNgDir)\deflate_slow.c" /> |
| 123 |
<ClCompile Include="$(zlibNgDir)\deflate_stored.c" /> |
| 124 |
<ClCompile Include="$(zlibNgDir)\functable.c" /> |
| 125 |
<ClCompile Include="$(zlibNgDir)\infback.c" /> |
| 126 |
<ClCompile Include="$(zlibNgDir)\inflate.c" /> |
| 127 |
<ClCompile Include="$(zlibNgDir)\inftrees.c" /> |
| 128 |
<ClCompile Include="$(zlibNgDir)\insert_string.c" /> |
| 129 |
<ClCompile Include="$(zlibNgDir)\insert_string_roll.c" /> |
| 130 |
<ClCompile Include="$(zlibNgDir)\trees.c" /> |
| 131 |
<ClCompile Include="$(zlibNgDir)\uncompr.c" /> |
| 132 |
<ClCompile Include="$(zlibNgDir)\zutil.c" /> |
| 133 |
<ClCompile Include="$(zlibNgDir)\cpu_features.c" /> |
| 134 |
<ClInclude Include="$(zlibNgDir)\arch\generic\generic_functions.h" /> |
| 135 |
<ClInclude Include="$(zlibNgDir)\fallback_builtins.h" /> |
| 136 |
</ItemGroup> |
| 137 |
<ItemGroup Condition="$(Platform) == 'Win32' or $(Platform) == 'x64'"> |
| 138 |
<ClInclude Include="$(zlibNgDir)\arch\x86\x86_functions.h" /> |
| 139 |
<ClInclude Include="$(zlibNgDir)\arch\x86\x86_features.h" /> |
| 140 |
<ClInclude Include="$(zlibNgDir)\arch\x86\adler32_avx512_p.h" /> |
| 141 |
<ClCompile Include="$(zlibNgDir)\arch\x86\x86_features.c" /> |
| 142 |
<ClCompile Include="$(zlibNgDir)\arch\x86\chunkset_sse2.c" /> |
| 143 |
<ClCompile Include="$(zlibNgDir)\arch\x86\compare256_sse2.c" /> |
| 144 |
<ClCompile Include="$(zlibNgDir)\arch\x86\slide_hash_sse2.c" /> |
| 145 |
<ClCompile Include="$(zlibNgDir)\arch\x86\adler32_ssse3.c"> |
| 146 |
<AdditionalOptions Condition="$(PlatformToolset) == 'ClangCL'">%(AdditionalOptions) -mssse3</AdditionalOptions> |
| 147 |
</ClCompile> |
| 148 |
<ClCompile Include="$(zlibNgDir)\arch\x86\chunkset_ssse3.c"> |
| 149 |
<AdditionalOptions Condition="$(PlatformToolset) == 'ClangCL'">%(AdditionalOptions) -mssse3</AdditionalOptions> |
| 150 |
</ClCompile> |
| 151 |
<ClCompile Include="$(zlibNgDir)\arch\x86\adler32_sse42.c"> |
| 152 |
<AdditionalOptions Condition="$(PlatformToolset) == 'ClangCL'">%(AdditionalOptions) -msse4.2</AdditionalOptions> |
| 153 |
</ClCompile> |
| 154 |
<ClCompile Include="$(zlibNgDir)\arch\x86\crc32_pclmulqdq.c"> |
| 155 |
<AdditionalOptions Condition="$(PlatformToolset) == 'ClangCL'">%(AdditionalOptions) -mssse3 -mpclmul</AdditionalOptions> |
| 156 |
</ClCompile> |
| 157 |
<ClCompile Include="$(zlibNgDir)\arch\x86\slide_hash_avx2.c"> |
| 158 |
<EnableEnhancedInstructionSet>AdvancedVectorExtensions2</EnableEnhancedInstructionSet> |
| 159 |
</ClCompile> |
| 160 |
<ClCompile Include="$(zlibNgDir)\arch\x86\chunkset_avx2.c"> |
| 161 |
<EnableEnhancedInstructionSet>AdvancedVectorExtensions2</EnableEnhancedInstructionSet> |
| 162 |
</ClCompile> |
| 163 |
<ClCompile Include="$(zlibNgDir)\arch\x86\compare256_avx2.c"> |
| 164 |
<EnableEnhancedInstructionSet>AdvancedVectorExtensions2</EnableEnhancedInstructionSet> |
| 165 |
</ClCompile> |
| 166 |
<ClCompile Include="$(zlibNgDir)\arch\x86\adler32_avx2.c"> |
| 167 |
<EnableEnhancedInstructionSet>AdvancedVectorExtensions2</EnableEnhancedInstructionSet> |
| 168 |
</ClCompile> |
| 169 |
<ClCompile Include="$(zlibNgDir)\arch\x86\adler32_avx512.c"> |
| 170 |
<EnableEnhancedInstructionSet>AdvancedVectorExtensions512</EnableEnhancedInstructionSet> |
| 171 |
</ClCompile> |
| 172 |
<ClCompile Include="$(zlibNgDir)\arch\x86\chunkset_avx512.c"> |
| 173 |
<EnableEnhancedInstructionSet>AdvancedVectorExtensions512</EnableEnhancedInstructionSet> |
| 174 |
</ClCompile> |
| 175 |
<ClCompile Include="$(zlibNgDir)\arch\x86\adler32_avx512_vnni.c"> |
| 176 |
<EnableEnhancedInstructionSet>AdvancedVectorExtensions512</EnableEnhancedInstructionSet> |
| 177 |
<AdditionalOptions Condition="$(PlatformToolset) == 'ClangCL'">%(AdditionalOptions) -mavx512vnni</AdditionalOptions> |
| 178 |
</ClCompile> |
| 179 |
<ClCompile Include="$(zlibNgDir)\arch\x86\crc32_vpclmulqdq.c"> |
| 180 |
<EnableEnhancedInstructionSet>AdvancedVectorExtensions512</EnableEnhancedInstructionSet> |
| 181 |
<AdditionalOptions Condition="$(PlatformToolset) == 'ClangCL'">%(AdditionalOptions) -mvpclmulqdq</AdditionalOptions> |
| 182 |
</ClCompile> |
| 183 |
</ItemGroup> |
| 184 |
<ItemGroup> |
| 185 |
<ClInclude Include="..\PC\zconf.h" /> |
| 186 |
<ClInclude Include="..\PC\zlib.h" /> |
| 187 |
<ClInclude Include="$(zlibNgDir)\arch\generic\chunk_permute_table.h" /> |
| 188 |
<ClInclude Include="$(zlibNgDir)\arch\generic\compare256_p.h" /> |
| 189 |
<ClInclude Include="$(zlibNgDir)\adler32_p.h" /> |
| 190 |
<ClInclude Include="$(zlibNgDir)\chunkset_tpl.h" /> |
| 191 |
<ClInclude Include="$(zlibNgDir)\compare256_rle.h" /> |
| 192 |
<ClInclude Include="$(zlibNgDir)\arch_functions.h" /> |
| 193 |
<ClInclude Include="$(zlibNgDir)\crc32_braid_p.h" /> |
| 194 |
<ClInclude Include="$(zlibNgDir)\crc32_braid_comb_p.h" /> |
| 195 |
<ClInclude Include="$(zlibNgDir)\crc32_braid_tbl.h" /> |
| 196 |
<ClInclude Include="$(zlibNgDir)\deflate.h" /> |
| 197 |
<ClInclude Include="$(zlibNgDir)\deflate_p.h" /> |
| 198 |
<ClInclude Include="$(zlibNgDir)\functable.h" /> |
| 199 |
<ClInclude Include="$(zlibNgDir)\inffast_tpl.h" /> |
| 200 |
<ClInclude Include="$(zlibNgDir)\inffixed_tbl.h" /> |
| 201 |
<ClInclude Include="$(zlibNgDir)\inflate.h" /> |
| 202 |
<ClInclude Include="$(zlibNgDir)\inflate_p.h" /> |
| 203 |
<ClInclude Include="$(zlibNgDir)\inftrees.h" /> |
| 204 |
<ClInclude Include="$(zlibNgDir)\insert_string_tpl.h" /> |
| 205 |
<ClInclude Include="$(zlibNgDir)\match_tpl.h" /> |
| 206 |
<ClInclude Include="$(zlibNgDir)\trees.h" /> |
| 207 |
<ClInclude Include="$(zlibNgDir)\trees_emit.h" /> |
| 208 |
<ClInclude Include="$(zlibNgDir)\trees_tbl.h" /> |
| 209 |
<ClInclude Include="$(zlibNgDir)\zbuild.h" /> |
| 210 |
<ClInclude Include="$(zlibNgDir)\zendian.h" /> |
| 211 |
<ClInclude Include="$(zlibNgDir)\zutil.h" /> |
| 212 |
<ClInclude Include="$(zlibNgDir)\cpu_features.h" /> |
| 213 |
</ItemGroup> |
| 214 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 215 |
<ImportGroup Label="ExtensionTargets"> |
| 216 |
</ImportGroup> |
| 217 |
|
| 218 |
<Target Name="_EnsureZlibH" Inputs="$(zlibNgDir)\zlib.h.in" Outputs="$(IntDir)zlib.h"> |
| 219 |
<PropertyGroup> |
| 220 |
<Text>$([System.IO.File]::ReadAllText('$(zlibNgDir)\zlib.h.in').Replace('@ZLIB_SYMBOL_PREFIX@', ''))</Text> |
| 221 |
</PropertyGroup> |
| 222 |
<WriteLinesToFile File="$(IntDir)zlib.h" Lines="$(Text)" /> |
| 223 |
</Target> |
| 224 |
<Target Name="_EnsureZlibNgH" Inputs="$(zlibNgDir)\zlib-ng.h.in" Outputs="$(IntDir)zlib-ng.h"> |
| 225 |
<PropertyGroup> |
| 226 |
<Text>$([System.IO.File]::ReadAllText('$(zlibNgDir)\zlib-ng.h.in').Replace('@ZLIB_SYMBOL_PREFIX@', ''))</Text> |
| 227 |
</PropertyGroup> |
| 228 |
<WriteLinesToFile File="$(IntDir)zlib-ng.h" Lines="$(Text)" /> |
| 229 |
</Target> |
| 230 |
|
| 231 |
<Target Name="_EnsureZlibNgHeaders" BeforeTargets="PrepareForBuild" |
| 232 |
DependsOnTargets="_EnsureZlibH;_EnsureZlibNgH" /> |
| 233 |
</Project> |