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