1cb93a386Sopenharmony_ci<?xml version="1.0" encoding="utf-8"?> 2cb93a386Sopenharmony_ci<!-- 3cb93a386Sopenharmony_ci * zlib.props - location of zlib source 4cb93a386Sopenharmony_ci * 5cb93a386Sopenharmony_ci * Copyright (c) 2018 Cosmin Truta 6cb93a386Sopenharmony_ci * Copyright (c) 1998-2011 Glenn Randers-Pehrson 7cb93a386Sopenharmony_ci * 8cb93a386Sopenharmony_ci * This code is released under the libpng license. 9cb93a386Sopenharmony_ci * For conditions of distribution and use, see the disclaimer 10cb93a386Sopenharmony_ci * and license in png.h 11cb93a386Sopenharmony_ci 12cb93a386Sopenharmony_ci * You may need to edit this file in order to update the location 13cb93a386Sopenharmony_ci * of the zlib source code. 14cb93a386Sopenharmony_ci --> 15cb93a386Sopenharmony_ci 16cb93a386Sopenharmony_ci<Project ToolsVersion="4.0" 17cb93a386Sopenharmony_ci xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 18cb93a386Sopenharmony_ci <PropertyGroup Label="Globals"> 19cb93a386Sopenharmony_ci <!-- Place the name of the directory containing the source of zlib used for 20cb93a386Sopenharmony_ci debugging in this property. 21cb93a386Sopenharmony_ci 22cb93a386Sopenharmony_ci The directory need only contain the '.c' and '.h' files from the 23cb93a386Sopenharmony_ci source. 24cb93a386Sopenharmony_ci 25cb93a386Sopenharmony_ci If you use a relative directory name (as below) then it must be 26cb93a386Sopenharmony_ci relative to the project directories; these are one level deeper than 27cb93a386Sopenharmony_ci the directories containing this file. 28cb93a386Sopenharmony_ci 29cb93a386Sopenharmony_ci If the version of zlib you use does not match that used when the 30cb93a386Sopenharmony_ci distribution was built you will get warnings from pngtest that the zlib 31cb93a386Sopenharmony_ci versions do not match. The zlib version used in this build is recorded 32cb93a386Sopenharmony_ci below: 33cb93a386Sopenharmony_ci --> 34cb93a386Sopenharmony_ci <ZLibSrcDir>..\..\..\..\zlib</ZLibSrcDir> 35cb93a386Sopenharmony_ci 36cb93a386Sopenharmony_ci <!-- The following line allows compilation for an ARM target with Visual 37cb93a386Sopenharmony_ci Studio 2012. Notice that this is not supported by the Visual Studio 38cb93a386Sopenharmony_ci 2012 IDE and that the programs that result cannot be run unless they 39cb93a386Sopenharmony_ci signed by Microsoft. This is therefore untested; only Microsoft can 40cb93a386Sopenharmony_ci test it: 41cb93a386Sopenharmony_ci --> 42cb93a386Sopenharmony_ci <WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport> 43cb93a386Sopenharmony_ci 44cb93a386Sopenharmony_ci <!-- The following lines provide a global (solution level) control of the 45cb93a386Sopenharmony_ci warnings issued by the compiler, these are used in the individual 46cb93a386Sopenharmony_ci project files (*/*.vcxproj) with, for zlib, some extra disables. 47cb93a386Sopenharmony_ci 48cb93a386Sopenharmony_ci Different versions of Visual Studio may require different settings, 49cb93a386Sopenharmony_ci these settings work with Visual Studio 2013. Just set 50cb93a386Sopenharmony_ci TreatWarningAsError to false to check the build without failing on 51cb93a386Sopenharmony_ci errors. 52cb93a386Sopenharmony_ci --> 53cb93a386Sopenharmony_ci <WarningLevel>EnableAllWarnings</WarningLevel> 54cb93a386Sopenharmony_ci <TreatWarningAsError>true</TreatWarningAsError> 55cb93a386Sopenharmony_ci <DisableSpecificWarnings>4255;4668;4710;4711;4746;4820;4996</DisableSpecificWarnings> 56cb93a386Sopenharmony_ci </PropertyGroup> 57cb93a386Sopenharmony_ci</Project> 58