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