|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | + |
| 3 | +<!-- |
| 4 | + The zlib1 configurations will build a binary compliant with the ZLIB1.DLL |
| 5 | + standard (see win32/DLL_FAQ.txt in the original zlib source distribution). |
| 6 | +--> |
| 7 | + |
| 8 | +<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 9 | + <ItemGroup Label="ProjectConfigurations"> |
| 10 | + <ProjectConfiguration Include="Debug Dynamic zlib1|Win32"> |
| 11 | + <Configuration>Debug Dynamic zlib1</Configuration> |
| 12 | + <Platform>Win32</Platform> |
| 13 | + </ProjectConfiguration> |
| 14 | + <ProjectConfiguration Include="Debug Static zlib1|Win32"> |
| 15 | + <Configuration>Debug Static zlib1</Configuration> |
| 16 | + <Platform>Win32</Platform> |
| 17 | + </ProjectConfiguration> |
| 18 | + <ProjectConfiguration Include="Debug Static|Win32"> |
| 19 | + <Configuration>Debug Static</Configuration> |
| 20 | + <Platform>Win32</Platform> |
| 21 | + </ProjectConfiguration> |
| 22 | + <ProjectConfiguration Include="Debug Dynamic|Win32"> |
| 23 | + <Configuration>Debug Dynamic</Configuration> |
| 24 | + <Platform>Win32</Platform> |
| 25 | + </ProjectConfiguration> |
| 26 | + <ProjectConfiguration Include="Release Dynamic zlib1|Win32"> |
| 27 | + <Configuration>Release Dynamic zlib1</Configuration> |
| 28 | + <Platform>Win32</Platform> |
| 29 | + </ProjectConfiguration> |
| 30 | + <ProjectConfiguration Include="Release Static zlib1|Win32"> |
| 31 | + <Configuration>Release Static zlib1</Configuration> |
| 32 | + <Platform>Win32</Platform> |
| 33 | + </ProjectConfiguration> |
| 34 | + <ProjectConfiguration Include="Release Static|Win32"> |
| 35 | + <Configuration>Release Static</Configuration> |
| 36 | + <Platform>Win32</Platform> |
| 37 | + </ProjectConfiguration> |
| 38 | + <ProjectConfiguration Include="Release Dynamic|Win32"> |
| 39 | + <Configuration>Release Dynamic</Configuration> |
| 40 | + <Platform>Win32</Platform> |
| 41 | + </ProjectConfiguration> |
| 42 | + </ItemGroup> |
| 43 | + <PropertyGroup Label="Globals"> |
| 44 | + <ProjectGuid>{EE4A787C-16D5-4192-870F-E1461AFFA469}</ProjectGuid> |
| 45 | + <Keyword>Win32Proj</Keyword> |
| 46 | + <ConfigurationType Condition="'$(Configuration)'=='Debug Static'">StaticLibrary</ConfigurationType> |
| 47 | + <ConfigurationType Condition="'$(Configuration)'=='Debug Static zlib1'">StaticLibrary</ConfigurationType> |
| 48 | + <ConfigurationType Condition="'$(Configuration)'=='Release Static'">StaticLibrary</ConfigurationType> |
| 49 | + <ConfigurationType Condition="'$(Configuration)'=='Release Static zlib1'">StaticLibrary</ConfigurationType> |
| 50 | + <ConfigurationType Condition="'$(Configuration)'=='Debug Dynamic'">DynamicLibrary</ConfigurationType> |
| 51 | + <ConfigurationType Condition="'$(Configuration)'=='Debug Dynamic zlib1'">DynamicLibrary</ConfigurationType> |
| 52 | + <ConfigurationType Condition="'$(Configuration)'=='Release Dynamic'">DynamicLibrary</ConfigurationType> |
| 53 | + <ConfigurationType Condition="'$(Configuration)'=='Release Dynamic zlib1'">DynamicLibrary</ConfigurationType> |
| 54 | + |
| 55 | + <BuildZLib1 Condition="'$(Configuration)'=='Debug Static zlib1'">true</BuildZLib1> |
| 56 | + <BuildZLib1 Condition="'$(Configuration)'=='Debug Dynamic zlib1'">true</BuildZLib1> |
| 57 | + <BuildZLib1 Condition="'$(Configuration)'=='Release Static zlib1'">true</BuildZLib1> |
| 58 | + <BuildZLib1 Condition="'$(Configuration)'=='Release Dynamic zlib1'">true</BuildZLib1> |
| 59 | + |
| 60 | + <UseDebugLibraries Condition="'$(Configuration)'=='Debug Static'">true</UseDebugLibraries> |
| 61 | + <UseDebugLibraries Condition="'$(Configuration)'=='Debug Static zlib1'">true</UseDebugLibraries> |
| 62 | + <UseDebugLibraries Condition="'$(Configuration)'=='Debug Dynamic'">true</UseDebugLibraries> |
| 63 | + <UseDebugLibraries Condition="'$(Configuration)'=='Debug Dynamic zlib1'">true</UseDebugLibraries> |
| 64 | + |
| 65 | + <RootNamespace Condition="'$(BuildZLib1)|$(ConfigurationType)'=='true|StaticLibrary'">zlib</RootNamespace> |
| 66 | + <RootNamespace Condition="'$(BuildZLib1)|$(ConfigurationType)'=='true|DynamicLibrary'">zlib1</RootNamespace> |
| 67 | + <RootNamespace Condition="$(BuildZLib1)!=true">zlib-ng</RootNamespace> |
| 68 | + </PropertyGroup> |
| 69 | + <ImportGroup Label="PropertySheets"> |
| 70 | + <Import Project="$(SolutionDir)\base.props" /> |
| 71 | + </ImportGroup> |
| 72 | + <PropertyGroup> |
| 73 | + <LinkIncremental Condition="$(UseDebugLibraries)==true">true</LinkIncremental> |
| 74 | + <LinkIncremental Condition="$(UseDebugLibraries)!=true">false</LinkIncremental> |
| 75 | + <ExtensionsToDeleteOnClean>$(ProjectDir)\zconf.h;$(ProjectDir)\zlib.h;$(ExtensionsToDeleteOnClean)</ExtensionsToDeleteOnClean> |
| 76 | + </PropertyGroup> |
| 77 | + <ItemDefinitionGroup> |
| 78 | + <PreBuildEvent> |
| 79 | + <Command> |
| 80 | +copy /y $(ProjectDir)\zlib-ng\zconf.h.in $(ProjectDir)\zconf.h |
| 81 | +copy /y $(ProjectDir)\zlib-ng\zlib.h $(ProjectDir)\ |
| 82 | +%(Command)</Command> |
| 83 | + </PreBuildEvent> |
| 84 | + <ClCompile> |
| 85 | + <AdditionalIncludeDirectories>$(ProjectDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 86 | + <PreprocessorDefinitions>_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 87 | + <PreprocessorDefinitions Condition="$(BuildZLib1)==true">WITH_GZFILEOP;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 88 | + <Optimization Condition="$(UseDebugLibraries)!=true">Full</Optimization> |
| 89 | + </ClCompile> |
| 90 | + <Lib> |
| 91 | + <TargetMachine Condition="'$(Platform)'=='Win32'">MachineX86</TargetMachine> |
| 92 | + </Lib> |
| 93 | + <Link> |
| 94 | + <SubSystem>Windows</SubSystem> |
| 95 | + <OptimizeReferences Condition="$(UseDebugLibraries)==true">false</OptimizeReferences> |
| 96 | + <OptimizeReferences Condition="$(UseDebugLibraries)!=true">true</OptimizeReferences> |
| 97 | + <ModuleDefinitionFile Condition="$(BuildZLib1)==true">zlib-ng\win32\zlibcompat.def</ModuleDefinitionFile> |
| 98 | + <ModuleDefinitionFile Condition="$(BuildZLib1)!=true">zlib-ng\win32\zlib.def</ModuleDefinitionFile> |
| 99 | + <ImportLibrary>$(OutDir)zdll</ImportLibrary> |
| 100 | + <ImportLibrary Condition="$(BuildZLib1)!=true">%(ImportLibrary)-ng</ImportLibrary> |
| 101 | + <ImportLibrary Condition="$(UseDebugLibraries)==true">%(ImportLibrary)_d</ImportLibrary> |
| 102 | + <ImportLibrary>%(ImportLibrary).lib</ImportLibrary> |
| 103 | + </Link> |
| 104 | + </ItemDefinitionGroup> |
| 105 | + <ItemGroup> |
| 106 | + <ClCompile Include="zlib-ng\adler32.c" /> |
| 107 | + <ClCompile Include="zlib-ng\compress.c" /> |
| 108 | + <ClCompile Include="zlib-ng\crc32.c" /> |
| 109 | + <ClCompile Include="zlib-ng\deflate.c" /> |
| 110 | + <ClCompile Include="zlib-ng\gzclose.c"> |
| 111 | + <ExcludedFromBuild Condition="$(BuildZLib1)!=true">true</ExcludedFromBuild> |
| 112 | + </ClCompile> |
| 113 | + <ClCompile Include="zlib-ng\gzlib.c"> |
| 114 | + <ExcludedFromBuild Condition="$(BuildZLib1)!=true">true</ExcludedFromBuild> |
| 115 | + </ClCompile> |
| 116 | + <ClCompile Include="zlib-ng\gzread.c"> |
| 117 | + <ExcludedFromBuild Condition="$(BuildZLib1)!=true">true</ExcludedFromBuild> |
| 118 | + </ClCompile> |
| 119 | + <ClCompile Include="zlib-ng\gzwrite.c"> |
| 120 | + <ExcludedFromBuild Condition="$(BuildZLib1)!=true">true</ExcludedFromBuild> |
| 121 | + </ClCompile> |
| 122 | + <ClCompile Include="zlib-ng\infback.c" /> |
| 123 | + <ClCompile Include="zlib-ng\inffast.c" /> |
| 124 | + <ClCompile Include="zlib-ng\inflate.c" /> |
| 125 | + <ClCompile Include="zlib-ng\inftrees.c" /> |
| 126 | + <ClCompile Include="zlib-ng\match.c" /> |
| 127 | + <ClCompile Include="zlib-ng\trees.c" /> |
| 128 | + <ClCompile Include="zlib-ng\uncompr.c" /> |
| 129 | + <ClCompile Include="zlib-ng\zutil.c" /> |
| 130 | + <None Include="zlib-ng\crc32.h" /> |
| 131 | + <None Include="zlib-ng\deflate.h" /> |
| 132 | + <None Include="zlib-ng\gzguts.h" /> |
| 133 | + <None Include="zlib-ng\inffast.h" /> |
| 134 | + <None Include="zlib-ng\inffixed.h" /> |
| 135 | + <None Include="zlib-ng\inflate.h" /> |
| 136 | + <None Include="zlib-ng\inftrees.h" /> |
| 137 | + <None Include="zlib-ng\match.h" /> |
| 138 | + <None Include="zlib-ng\trees.h" /> |
| 139 | + <None Include="zlib-ng\zutil.h" /> |
| 140 | + <None Include="zconf.h" /> |
| 141 | + <ResourceCompile Include="zlib-ng\win32\zlib1.rc" /> |
| 142 | + <None Include="zlib-ng\win32\zlib.def" /> |
| 143 | + </ItemGroup> |
| 144 | +</Project> |
0 commit comments