| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!-- |
| 3 |
* zlib.props - location of zlib source |
| 4 |
* |
| 5 |
* Copyright (c) 2018-2024 Cosmin Truta |
| 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 |
|
| 12 |
* You may need to edit this file in order to update the location |
| 13 |
* of the zlib source code. |
| 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 |
| 26 |
relative to the project directories; these are one level deeper than |
| 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 |
| 31 |
zlib versions do not match. The zlib version used in this build is |
| 32 |
recorded below: |
| 33 |
--> |
| 34 |
<ZLibSrcDir>..\..\..\..\zlib</ZLibSrcDir> |
| 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 |
are signed by Microsoft. This is therefore untested; only Microsoft |
| 40 |
can test it: |
| 41 |
--> |
| 42 |
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport> |
| 43 |
|
| 44 |
<!-- The following lines provide a global (solution-level) control of the |
| 45 |
warnings issued by the compiler. |
| 46 |
|
| 47 |
Considering how different versions of Visual Studio sometimes require |
| 48 |
different settings, and their compilers issue different warnings, we |
| 49 |
set TreatWarningAsError to false to avoid unforeseen and undesirable |
| 50 |
build failures for the users who upgrade to a newer Visual Studio that |
| 51 |
might bring along a more pedantic compiler: |
| 52 |
--> |
| 53 |
<WarningLevel>Level3</WarningLevel> |
| 54 |
<TreatWarningAsError>false</TreatWarningAsError> |
| 55 |
</PropertyGroup> |
| 56 |
</Project> |