blob: 87862796614be97f985ada3b02f2d00f8b9fdcd5 [file] [log] [blame]
Chris Craikb50c2172013-07-29 15:28:30 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * zlib.props - location of zlib source
4 *
xNombred07bb0d2020-03-10 20:17:12 +01005 * Copyright (c) 2018 Cosmin Truta
Chris Craikb50c2172013-07-29 15:28:30 -07006 * 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
xNombred07bb0d2020-03-10 20:17:12 +010012 * You may need to edit this file in order to update the location
13 * of the zlib source code.
Chris Craikb50c2172013-07-29 15:28:30 -070014 -->
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 Sarett9b1fe632015-11-25 10:21:17 -050026 relative to the project directories; these are one level deeper than
Chris Craikb50c2172013-07-29 15:28:30 -070027 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 -->
xNombred07bb0d2020-03-10 20:17:12 +010034 <ZLibSrcDir>..\..\..\..\zlib</ZLibSrcDir>
Chris Craikb50c2172013-07-29 15:28:30 -070035
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 Naidis7a055fd2016-10-01 12:23:07 +020043
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 Craikb50c2172013-07-29 15:28:30 -070056 </PropertyGroup>
57</Project>