pngstest.vcxproj 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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>{277AC57F-313B-4D06-B119-A3CDB672D2FF}</ProjectGuid>
  23. <Keyword>Win32Proj</Keyword>
  24. <RootNamespace>pngstest</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</AdditionalDependencies>
  100. <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories>
  101. </Link>
  102. <CustomBuildStep>
  103. <Message>Executing libpng simplified API test program</Message>
  104. <Command>"$(OutDir)pngstest.exe" --strict --log --touch "$(IntDir)pngstest.out" ../../../contrib/pngsuite/basn0g01.png ../../../contrib/pngsuite/basn0g02.png ../../../contrib/pngsuite/basn0g04.png ../../../contrib/pngsuite/basn0g08.png ../../../contrib/pngsuite/basn0g16.png ../../../contrib/pngsuite/basn2c08.png ../../../contrib/pngsuite/basn2c16.png ../../../contrib/pngsuite/basn3p01.png ../../../contrib/pngsuite/basn3p02.png ../../../contrib/pngsuite/basn3p04.png ../../../contrib/pngsuite/basn3p08.png ../../../contrib/pngsuite/basn4a08.png ../../../contrib/pngsuite/basn4a16.png ../../../contrib/pngsuite/basn6a08.png ../../../contrib/pngsuite/basn6a16.png ../../../contrib/pngsuite/ftbbn0g01.png ../../../contrib/pngsuite/ftbbn0g02.png ../../../contrib/pngsuite/ftbbn0g04.png ../../../contrib/pngsuite/ftbbn2c16.png ../../../contrib/pngsuite/ftbbn3p08.png ../../../contrib/pngsuite/ftbgn2c16.png ../../../contrib/pngsuite/ftbgn3p08.png ../../../contrib/pngsuite/ftbrn2c08.png ../../../contrib/pngsuite/ftbwn0g16.png ../../../contrib/pngsuite/ftbwn3p08.png ../../../contrib/pngsuite/ftbyn3p08.png ../../../contrib/pngsuite/ftp0n0g08.png ../../../contrib/pngsuite/ftp0n2c08.png ../../../contrib/pngsuite/ftp0n3p08.png ../../../contrib/pngsuite/ftp1n3p08.png</Command>
  105. <Outputs>$(IntDir)pngstest.out</Outputs>
  106. <Inputs>$(OutDir)pngstest.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 libpng simplified API test program</Message>
  137. <Command>"$(OutDir)pngstest.exe" --strict --log --touch "$(IntDir)pngstest.out" ../../../contrib/pngsuite/basn0g01.png ../../../contrib/pngsuite/basn0g02.png ../../../contrib/pngsuite/basn0g04.png ../../../contrib/pngsuite/basn0g08.png ../../../contrib/pngsuite/basn0g16.png ../../../contrib/pngsuite/basn2c08.png ../../../contrib/pngsuite/basn2c16.png ../../../contrib/pngsuite/basn3p01.png ../../../contrib/pngsuite/basn3p02.png ../../../contrib/pngsuite/basn3p04.png ../../../contrib/pngsuite/basn3p08.png ../../../contrib/pngsuite/basn4a08.png ../../../contrib/pngsuite/basn4a16.png ../../../contrib/pngsuite/basn6a08.png ../../../contrib/pngsuite/basn6a16.png ../../../contrib/pngsuite/ftbbn0g01.png ../../../contrib/pngsuite/ftbbn0g02.png ../../../contrib/pngsuite/ftbbn0g04.png ../../../contrib/pngsuite/ftbbn2c16.png ../../../contrib/pngsuite/ftbbn3p08.png ../../../contrib/pngsuite/ftbgn2c16.png ../../../contrib/pngsuite/ftbgn3p08.png ../../../contrib/pngsuite/ftbrn2c08.png ../../../contrib/pngsuite/ftbwn0g16.png ../../../contrib/pngsuite/ftbwn3p08.png ../../../contrib/pngsuite/ftbyn3p08.png ../../../contrib/pngsuite/ftp0n0g08.png ../../../contrib/pngsuite/ftp0n2c08.png ../../../contrib/pngsuite/ftp0n3p08.png ../../../contrib/pngsuite/ftp1n3p08.png</Command>
  138. <Outputs>$(IntDir)pngstest.out</Outputs>
  139. <Inputs>$(OutDir)pngstest.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</AdditionalDependencies>
  167. <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories>
  168. <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
  169. </Link>
  170. <CustomBuildStep>
  171. <Message>Executing libpng simplified API test program</Message>
  172. <Command>"$(OutDir)pngstest.exe" --strict --log --touch "$(IntDir)pngstest.out" ../../../contrib/pngsuite/basn0g01.png ../../../contrib/pngsuite/basn0g02.png ../../../contrib/pngsuite/basn0g04.png ../../../contrib/pngsuite/basn0g08.png ../../../contrib/pngsuite/basn0g16.png ../../../contrib/pngsuite/basn2c08.png ../../../contrib/pngsuite/basn2c16.png ../../../contrib/pngsuite/basn3p01.png ../../../contrib/pngsuite/basn3p02.png ../../../contrib/pngsuite/basn3p04.png ../../../contrib/pngsuite/basn3p08.png ../../../contrib/pngsuite/basn4a08.png ../../../contrib/pngsuite/basn4a16.png ../../../contrib/pngsuite/basn6a08.png ../../../contrib/pngsuite/basn6a16.png ../../../contrib/pngsuite/ftbbn0g01.png ../../../contrib/pngsuite/ftbbn0g02.png ../../../contrib/pngsuite/ftbbn0g04.png ../../../contrib/pngsuite/ftbbn2c16.png ../../../contrib/pngsuite/ftbbn3p08.png ../../../contrib/pngsuite/ftbgn2c16.png ../../../contrib/pngsuite/ftbgn3p08.png ../../../contrib/pngsuite/ftbrn2c08.png ../../../contrib/pngsuite/ftbwn0g16.png ../../../contrib/pngsuite/ftbwn3p08.png ../../../contrib/pngsuite/ftbyn3p08.png ../../../contrib/pngsuite/ftp0n0g08.png ../../../contrib/pngsuite/ftp0n2c08.png ../../../contrib/pngsuite/ftp0n3p08.png ../../../contrib/pngsuite/ftp1n3p08.png</Command>
  173. <Outputs>$(IntDir)pngstest.out</Outputs>
  174. <Inputs>$(OutDir)pngstest.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 libpng simplified API test program</Message>
  208. <Command>"$(OutDir)pngstest.exe" --strict --log --touch "$(IntDir)pngstest.out" ../../../contrib/pngsuite/basn0g01.png ../../../contrib/pngsuite/basn0g02.png ../../../contrib/pngsuite/basn0g04.png ../../../contrib/pngsuite/basn0g08.png ../../../contrib/pngsuite/basn0g16.png ../../../contrib/pngsuite/basn2c08.png ../../../contrib/pngsuite/basn2c16.png ../../../contrib/pngsuite/basn3p01.png ../../../contrib/pngsuite/basn3p02.png ../../../contrib/pngsuite/basn3p04.png ../../../contrib/pngsuite/basn3p08.png ../../../contrib/pngsuite/basn4a08.png ../../../contrib/pngsuite/basn4a16.png ../../../contrib/pngsuite/basn6a08.png ../../../contrib/pngsuite/basn6a16.png ../../../contrib/pngsuite/ftbbn0g01.png ../../../contrib/pngsuite/ftbbn0g02.png ../../../contrib/pngsuite/ftbbn0g04.png ../../../contrib/pngsuite/ftbbn2c16.png ../../../contrib/pngsuite/ftbbn3p08.png ../../../contrib/pngsuite/ftbgn2c16.png ../../../contrib/pngsuite/ftbgn3p08.png ../../../contrib/pngsuite/ftbrn2c08.png ../../../contrib/pngsuite/ftbwn0g16.png ../../../contrib/pngsuite/ftbwn3p08.png ../../../contrib/pngsuite/ftbyn3p08.png ../../../contrib/pngsuite/ftp0n0g08.png ../../../contrib/pngsuite/ftp0n2c08.png ../../../contrib/pngsuite/ftp0n3p08.png ../../../contrib/pngsuite/ftp1n3p08.png</Command>
  209. <Outputs>$(IntDir)pngstest.out</Outputs>
  210. <Inputs>$(OutDir)pngstest.exe</Inputs>
  211. </CustomBuildStep>
  212. </ItemDefinitionGroup>
  213. <ItemGroup>
  214. <ClCompile Include="..\..\..\contrib\libtests\pngstest.c" />
  215. </ItemGroup>
  216. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  217. <ImportGroup Label="ExtensionTargets">
  218. </ImportGroup>
  219. </Project>