1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <ItemGroup Label="ProjectConfigurations"> 4 <ProjectConfiguration Include="Debug Library|Win32"> 5 <Configuration>Debug Library</Configuration> 6 <Platform>Win32</Platform> 7 </ProjectConfiguration> 8 <ProjectConfiguration Include="Debug|Win32"> 9 <Configuration>Debug</Configuration> 10 <Platform>Win32</Platform> 11 </ProjectConfiguration> 12 <ProjectConfiguration Include="Release Library|Win32"> 13 <Configuration>Release Library</Configuration> 14 <Platform>Win32</Platform> 15 </ProjectConfiguration> 16 <ProjectConfiguration Include="Release|Win32"> 17 <Configuration>Release</Configuration> 18 <Platform>Win32</Platform> 19 </ProjectConfiguration> 20 </ItemGroup> 21 <PropertyGroup Label="Globals"> 22 <ProjectGuid>{228BA965-50D5-42B2-8BCF-AFCC227E3C1D}</ProjectGuid> 23 <Keyword>Win32Proj</Keyword> 24 <RootNamespace>pngtest</RootNamespace> 25 </PropertyGroup> 26 <Import Project="$(SolutionDir)\zlib.props" /> 27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 28 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> 29 <ConfigurationType>Application</ConfigurationType> 30 <CharacterSet>Unicode</CharacterSet> 31 </PropertyGroup> 32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'" Label="Configuration"> 33 <ConfigurationType>Application</ConfigurationType> 34 <CharacterSet>Unicode</CharacterSet> 35 </PropertyGroup> 36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> 37 <ConfigurationType>Application</ConfigurationType> 38 <CharacterSet>Unicode</CharacterSet> 39 </PropertyGroup> 40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'" Label="Configuration"> 41 <ConfigurationType>Application</ConfigurationType> 42 <CharacterSet>Unicode</CharacterSet> 43 </PropertyGroup> 44 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 45 <ImportGroup Label="ExtensionSettings"> 46 </ImportGroup> 47 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 48 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 49 </ImportGroup> 50 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'" Label="PropertySheets"> 51 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> 52 </ImportGroup> 53 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 54 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 55 </ImportGroup> 56 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'" Label="PropertySheets"> 57 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> 58 </ImportGroup> 59 <PropertyGroup Label="UserMacros" /> 60 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 61 <LinkIncremental>false</LinkIncremental> 62 <CustomBuildAfterTargets /> 63 </PropertyGroup> 64 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'"> 65 <LinkIncremental>false</LinkIncremental> 66 <CustomBuildAfterTargets /> 67 </PropertyGroup> 68 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 69 <LinkIncremental>false</LinkIncremental> 70 <CustomBuildAfterTargets /> 71 </PropertyGroup> 72 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'"> 73 <LinkIncremental>false</LinkIncremental> 74 <CustomBuildAfterTargets /> 75 </PropertyGroup> 76 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 77 <ClCompile> 78 <PrecompiledHeader>NotUsing</PrecompiledHeader> 79 <WarningLevel>Level4</WarningLevel> 80 <MinimalRebuild>false</MinimalRebuild> 81 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 82 <Optimization>Disabled</Optimization> 83 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 84 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> 85 <AdditionalIncludeDirectories>$(ZLibSrcDir);..\..\..\scripts;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 86 <DisableSpecificWarnings>4996</DisableSpecificWarnings> 87 <CompileAsManaged>false</CompileAsManaged> 88 <TreatWarningAsError>true</TreatWarningAsError> 89 <IntrinsicFunctions>true</IntrinsicFunctions> 90 <StringPooling>true</StringPooling> 91 <FunctionLevelLinking>false</FunctionLevelLinking> 92 <BrowseInformation>true</BrowseInformation> 93 <FloatingPointExceptions>false</FloatingPointExceptions> 94 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> 95 </ClCompile> 96 <Link> 97 <SubSystem>Console</SubSystem> 98 <GenerateDebugInformation>true</GenerateDebugInformation> 99 <AdditionalDependencies>libpng16.lib</AdditionalDependencies> 100 <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories> 101 </Link> 102 <CustomBuildStep> 103 <Message>Executing PNG test program</Message> 104 <Command>"$(OutDir)pngtest.exe" ..\..\..\pngtest.png "$(IntDir)pngout.png"</Command> 105 <Outputs>$(IntDir)pngout.png</Outputs> 106 <Inputs>..\..\..\pngtest.png;$(OutDir)pngtest.exe</Inputs> 107 </CustomBuildStep> 108 </ItemDefinitionGroup> 109 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Library|Win32'"> 110 <ClCompile> 111 <PrecompiledHeader>NotUsing</PrecompiledHeader> 112 <WarningLevel>Level4</WarningLevel> 113 <MinimalRebuild>false</MinimalRebuild> 114 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 115 <Optimization>Disabled</Optimization> 116 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 117 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 118 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> 119 <AdditionalIncludeDirectories>$(ZLibSrcDir);..\..\..\scripts;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 120 <DisableSpecificWarnings>4996</DisableSpecificWarnings> 121 <CompileAsManaged>false</CompileAsManaged> 122 <TreatWarningAsError>true</TreatWarningAsError> 123 <IntrinsicFunctions>true</IntrinsicFunctions> 124 <StringPooling>true</StringPooling> 125 <FunctionLevelLinking>false</FunctionLevelLinking> 126 <BrowseInformation>true</BrowseInformation> 127 <FloatingPointExceptions>false</FloatingPointExceptions> 128 </ClCompile> 129 <Link> 130 <SubSystem>Console</SubSystem> 131 <GenerateDebugInformation>true</GenerateDebugInformation> 132 <AdditionalDependencies>libpng16.lib;zlib.lib</AdditionalDependencies> 133 <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories> 134 </Link> 135 <CustomBuildStep> 136 <Message>Executing PNG test program</Message> 137 <Command>"$(OutDir)pngtest.exe" ..\..\..\pngtest.png "$(IntDir)pngout.png"</Command> 138 <Outputs>$(IntDir)pngout.png</Outputs> 139 <Inputs>..\..\..\pngtest.png;$(OutDir)pngtest.exe</Inputs> 140 </CustomBuildStep> 141 </ItemDefinitionGroup> 142 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 143 <ClCompile> 144 <WarningLevel>Level4</WarningLevel> 145 <PrecompiledHeader>NotUsing</PrecompiledHeader> 146 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 147 <Optimization>Full</Optimization> 148 <FunctionLevelLinking>false</FunctionLevelLinking> 149 <IntrinsicFunctions>true</IntrinsicFunctions> 150 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> 151 <AdditionalIncludeDirectories>$(ZLibSrcDir);..\..\..\scripts;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 152 <DisableSpecificWarnings>4996</DisableSpecificWarnings> 153 <CompileAsManaged>false</CompileAsManaged> 154 <TreatWarningAsError>true</TreatWarningAsError> 155 <StringPooling>true</StringPooling> 156 <MinimalRebuild>false</MinimalRebuild> 157 <BrowseInformation>true</BrowseInformation> 158 <WholeProgramOptimization>true</WholeProgramOptimization> 159 <FloatingPointExceptions>false</FloatingPointExceptions> 160 </ClCompile> 161 <Link> 162 <SubSystem>Console</SubSystem> 163 <GenerateDebugInformation>true</GenerateDebugInformation> 164 <EnableCOMDATFolding>true</EnableCOMDATFolding> 165 <OptimizeReferences>true</OptimizeReferences> 166 <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> 167 <AdditionalDependencies>libpng16.lib</AdditionalDependencies> 168 <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories> 169 </Link> 170 <CustomBuildStep> 171 <Message>Executing PNG test program</Message> 172 <Command>"$(OutDir)pngtest.exe" ..\..\..\pngtest.png "$(IntDir)pngout.png"</Command> 173 <Outputs>$(IntDir)pngout.png</Outputs> 174 <Inputs>..\..\..\pngtest.png;$(OutDir)pngtest.exe</Inputs> 175 </CustomBuildStep> 176 </ItemDefinitionGroup> 177 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release Library|Win32'"> 178 <ClCompile> 179 <WarningLevel>Level4</WarningLevel> 180 <PrecompiledHeader>NotUsing</PrecompiledHeader> 181 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 182 <Optimization>Full</Optimization> 183 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 184 <FunctionLevelLinking>false</FunctionLevelLinking> 185 <IntrinsicFunctions>true</IntrinsicFunctions> 186 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> 187 <AdditionalIncludeDirectories>$(ZLibSrcDir);..\..\..\scripts;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 188 <DisableSpecificWarnings>4996</DisableSpecificWarnings> 189 <CompileAsManaged>false</CompileAsManaged> 190 <TreatWarningAsError>true</TreatWarningAsError> 191 <StringPooling>true</StringPooling> 192 <MinimalRebuild>false</MinimalRebuild> 193 <BrowseInformation>true</BrowseInformation> 194 <WholeProgramOptimization>true</WholeProgramOptimization> 195 <FloatingPointExceptions>false</FloatingPointExceptions> 196 </ClCompile> 197 <Link> 198 <SubSystem>Console</SubSystem> 199 <GenerateDebugInformation>true</GenerateDebugInformation> 200 <EnableCOMDATFolding>true</EnableCOMDATFolding> 201 <OptimizeReferences>true</OptimizeReferences> 202 <AdditionalDependencies>libpng16.lib;zlib.lib</AdditionalDependencies> 203 <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> 204 <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories> 205 </Link> 206 <CustomBuildStep> 207 <Message>Executing PNG test program</Message> 208 <Command>$(OutDir)pngtest.exe ..\..\..\pngtest.png $(IntDir)pngout.png</Command> 209 <Command>"$(OutDir)pngtest.exe" ..\..\..\pngtest.png "$(IntDir)pngout.png"</Command> 210 <Outputs>$(IntDir)pngout.png</Outputs> 211 <Inputs>..\..\..\pngtest.png;$(OutDir)pngtest.exe</Inputs> 212 </CustomBuildStep> 213 </ItemDefinitionGroup> 214 <ItemGroup> 215 <ClCompile Include="..\..\..\pngtest.c" /> 216 </ItemGroup> 217 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 218 <ImportGroup Label="ExtensionTargets"> 219 </ImportGroup> 220 </Project> 221