zlib.props 2.2 KB

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