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>{9B36B6FE-7FC0-434F-A71F-BBEF8099F1D8}</ProjectGuid>
23    <Keyword>Win32Proj</Keyword>
24    <RootNamespace>pngvalid</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;PNG_USE_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
85      <AdditionalIncludeDirectories>$(ZLibSrcDir);..\..\..\scripts;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
86      <DisableSpecificWarnings>4996;4127</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;zlib.lib</AdditionalDependencies>
100      <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories>
101    </Link>
102    <CustomBuildStep>
103      <Message>Executing PNG validation program</Message>
104      <Command>"$(OutDir)pngvalid.exe" --touch "$(IntDir)pngvalid.out"</Command>
105      <Outputs>$(IntDir)pngvalid.out</Outputs>
106      <Inputs>$(OutDir)pngvalid.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;4127</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 validation program</Message>
137      <Command>"$(OutDir)pngvalid.exe" --touch "$(IntDir)pngvalid.out"</Command>
138      <Outputs>$(IntDir)pngvalid.out</Outputs>
139      <Inputs>$(OutDir)pngvalid.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;PNG_USE_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151      <AdditionalIncludeDirectories>$(ZLibSrcDir);..\..\..\scripts;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
152      <DisableSpecificWarnings>4996;4127</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      <AdditionalDependencies>libpng16.lib;zlib.lib</AdditionalDependencies>
167      <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories>
168      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
169    </Link>
170    <CustomBuildStep>
171      <Message>Executing PNG validation program</Message>
172      <Command>"$(OutDir)pngvalid.exe" --touch "$(IntDir)pngvalid.out"</Command>
173      <Outputs>$(IntDir)pngvalid.out</Outputs>
174      <Inputs>$(OutDir)pngvalid.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;4127</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      <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories>
204      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
205    </Link>
206    <CustomBuildStep>
207      <Message>Executing PNG validation program</Message>
208      <Command>"$(OutDir)pngvalid.exe" --touch "$(IntDir)pngvalid.out"</Command>
209      <Outputs>$(IntDir)pngvalid.out</Outputs>
210      <Inputs>$(OutDir)pngvalid.exe</Inputs>
211    </CustomBuildStep>
212  </ItemDefinitionGroup>
213  <ItemGroup>
214    <ClCompile Include="..\..\..\contrib\libtests\pngvalid.c" />
215  </ItemGroup>
216  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
217  <ImportGroup Label="ExtensionTargets">
218  </ImportGroup>
219</Project>
220