Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | * zlib.props - location of zlib source |
| 4 | * |
xNombre | d07bb0d | 2020-03-10 20:17:12 +0100 | [diff] [blame] | 5 | * Copyright (c) 2018 Cosmin Truta |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 6 | * Copyright (c) 1998-2011 Glenn Randers-Pehrson |
| 7 | * |
| 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 |
| 11 | |
xNombre | d07bb0d | 2020-03-10 20:17:12 +0100 | [diff] [blame] | 12 | * You may need to edit this file in order to update the location |
| 13 | * of the zlib source code. |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 14 | --> |
| 15 | |
| 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. |
| 21 | |
| 22 | The directory need only contain the '.c' and '.h' files from the |
| 23 | source. |
| 24 | |
| 25 | If you use a relative directory name (as below) then it must be |
Matt Sarett | 9b1fe63 | 2015-11-25 10:21:17 -0500 | [diff] [blame] | 26 | relative to the project directories; these are one level deeper than |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 27 | the directories containing this file. |
| 28 | |
| 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 |
| 32 | below: |
| 33 | --> |
xNombre | d07bb0d | 2020-03-10 20:17:12 +0100 | [diff] [blame] | 34 | <ZLibSrcDir>..\..\..\..\zlib</ZLibSrcDir> |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 35 | |
| 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 |
| 40 | test it: |
| 41 | --> |
| 42 | <WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport> |
Alex Naidis | 7a055fd | 2016-10-01 12:23:07 +0200 | [diff] [blame] | 43 | |
| 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. |
| 47 | |
| 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 |
| 51 | errors. |
| 52 | --> |
| 53 | <WarningLevel>EnableAllWarnings</WarningLevel> |
| 54 | <TreatWarningAsError>true</TreatWarningAsError> |
| 55 | <DisableSpecificWarnings>4255;4668;4710;4711;4746;4820;4996</DisableSpecificWarnings> |
Chris Craik | b50c217 | 2013-07-29 15:28:30 -0700 | [diff] [blame] | 56 | </PropertyGroup> |
| 57 | </Project> |