diff --git a/Freeswitch.2015.sln b/Freeswitch.2015.sln
index 269f87731d..e347bda003 100644
--- a/Freeswitch.2015.sln
+++ b/Freeswitch.2015.sln
@@ -583,19 +583,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libyuv", "libs\win32\libyuv
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libvpx", "libs\win32\libvpx\libvpx.2015.vcxproj", "{DCE19DAF-69AC-46DB-B14A-39F0FAA5DB74}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "libs\win32\zlib\zlib.vcxproj", "{60F89955-91C6-3A36-8000-13C592FEC2DF}"
- ProjectSection(ProjectDependencies) = postProject
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311} = {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}
- EndProjectSection
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libpng", "libs\win32\libpng\libpng.vcxproj", "{D6973076-9317-4EF2-A0B8-B7A18AC0713E}"
ProjectSection(ProjectDependencies) = postProject
- {60F89955-91C6-3A36-8000-13C592FEC2DF} = {60F89955-91C6-3A36-8000-13C592FEC2DF}
{C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33} = {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}
EndProjectSection
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download zlib", "libs\win32\Download zlib.2015.vcxproj", "{CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}"
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libpng", "libs\win32\Download libpng.2015.vcxproj", "{C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "freetype", "libs\win32\freetype\freetype.vcxproj", "{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}"
@@ -2682,18 +2674,6 @@ Global
{DCE19DAF-69AC-46DB-B14A-39F0FAA5DB74}.Release|Win32.Build.0 = Release|Win32
{DCE19DAF-69AC-46DB-B14A-39F0FAA5DB74}.Release|x64.ActiveCfg = Release|x64
{DCE19DAF-69AC-46DB-B14A-39F0FAA5DB74}.Release|x64.Build.0 = Release|x64
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.All|Win32.ActiveCfg = Release|Win32
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.All|Win32.Build.0 = Release|Win32
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.All|x64.ActiveCfg = Release|x64
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.All|x64.Build.0 = Release|x64
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.Debug|Win32.ActiveCfg = Debug|Win32
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.Debug|Win32.Build.0 = Debug|Win32
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.Debug|x64.ActiveCfg = Debug|x64
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.Debug|x64.Build.0 = Debug|x64
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.Release|Win32.ActiveCfg = Release|Win32
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.Release|Win32.Build.0 = Release|Win32
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.Release|x64.ActiveCfg = Release|x64
- {60F89955-91C6-3A36-8000-13C592FEC2DF}.Release|x64.Build.0 = Release|x64
{D6973076-9317-4EF2-A0B8-B7A18AC0713E}.All|Win32.ActiveCfg = Release|Win32
{D6973076-9317-4EF2-A0B8-B7A18AC0713E}.All|Win32.Build.0 = Release|Win32
{D6973076-9317-4EF2-A0B8-B7A18AC0713E}.All|x64.ActiveCfg = Release|x64
@@ -2706,18 +2686,6 @@ Global
{D6973076-9317-4EF2-A0B8-B7A18AC0713E}.Release|Win32.Build.0 = Release|Win32
{D6973076-9317-4EF2-A0B8-B7A18AC0713E}.Release|x64.ActiveCfg = Release|x64
{D6973076-9317-4EF2-A0B8-B7A18AC0713E}.Release|x64.Build.0 = Release|x64
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.All|Win32.ActiveCfg = Release|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.All|Win32.Build.0 = Release|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.All|x64.ActiveCfg = Release|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.All|x64.Build.0 = Release|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.Debug|Win32.ActiveCfg = Debug|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.Debug|Win32.Build.0 = Debug|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.Debug|x64.ActiveCfg = Debug|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.Debug|x64.Build.0 = Debug|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.Release|Win32.ActiveCfg = Release|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.Release|Win32.Build.0 = Release|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.Release|x64.ActiveCfg = Release|Win32
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}.Release|x64.Build.0 = Release|Win32
{C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.All|Win32.ActiveCfg = Release|Win32
{C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.All|Win32.Build.0 = Release|Win32
{C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.All|x64.ActiveCfg = Release|Win32
@@ -3147,9 +3115,7 @@ Global
{5B2BACE4-0F5A-4A21-930D-C0F4B1F58FA6} = {9460B5F1-0A95-41C4-BEB7-9C2C96459A7C}
{B6E22500-3DB6-4E6E-8CD5-591B781D7D99} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
{DCE19DAF-69AC-46DB-B14A-39F0FAA5DB74} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
- {60F89955-91C6-3A36-8000-13C592FEC2DF} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
{D6973076-9317-4EF2-A0B8-B7A18AC0713E} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311} = {C120A020-773F-4EA3-923F-B67AF28B750D}
{C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33} = {C120A020-773F-4EA3-923F-B67AF28B750D}
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
{0AD87FDA-989F-4638-B6E1-B0132BB0560A} = {C120A020-773F-4EA3-923F-B67AF28B750D}
diff --git a/libs/.gitignore b/libs/.gitignore
index 450b313e42..670c2438b3 100644
--- a/libs/.gitignore
+++ b/libs/.gitignore
@@ -842,3 +842,5 @@ spandsp/configure
srtp/configure
tiff-4.0.2/configure
unimrcp/configure
+zlib-*/
+zlib-*
diff --git a/libs/win32/Download zlib.2015.vcxproj b/libs/win32/Download zlib.2015.vcxproj
deleted file mode 100644
index d0e044de79..0000000000
--- a/libs/win32/Download zlib.2015.vcxproj
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
- Debug
- Win32
-
-
- Release
- Win32
-
-
-
- Download zlib
- {CDCEC78E-D445-47AC-A2AE-DEBE2CE3A311}
- Download zlib
- Win32Proj
-
-
-
- Utility
- MultiByte
- v140
-
-
- Utility
- MultiByte
- v140
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>10.0.30319.1
- $(PlatformName)\zlib\$(Configuration)\
- $(PlatformName)\zlib\$(Configuration)\
-
-
-
- $(IntDir)BuildLog $(ProjectName).htm
-
-
-
-
-
-
-
-
- $(IntDir)BuildLog $(ProjectName).htm
-
-
-
-
-
-
-
-
- Document
- Downloading zlib.
- if not exist "$(ProjectDir)..\zlib" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/zlib.tar.bz2 "$(ProjectDir).."
-
- $(ProjectDir)..\zlib;%(Outputs)
- Downloading zlib.
- if not exist "$(ProjectDir)..\zlib" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/zlib.tar.bz2 "$(ProjectDir).."
-
- $(ProjectDir)..\zlib;%(Outputs)
-
-
-
-
-
-
\ No newline at end of file
diff --git a/libs/win32/libpng/libpng.vcxproj b/libs/win32/libpng/libpng.vcxproj
index a6a66f1e00..0fcf409fab 100644
--- a/libs/win32/libpng/libpng.vcxproj
+++ b/libs/win32/libpng/libpng.vcxproj
@@ -100,7 +100,6 @@
CompileAsC
true
$(DisableSpecificWarnings)
- $(ZLibSrcDir);%(AdditionalIncludeDirectories)
$(TreatWarningAsError)
Disabled
MultiThreadedDebugDLL
@@ -108,9 +107,7 @@
Windows
true
- zlib.lib
16
- $(OutDir)
@@ -129,18 +126,15 @@
true
false
$(DisableSpecificWarnings)
- $(ZLibSrcDir);%(AdditionalIncludeDirectories)
$(TreatWarningAsError)
Full
Windows
- true
+ false
true
true
- zlib.lib
16
- $(OutDir)
@@ -163,7 +157,6 @@
CompileAsC
true
$(DisableSpecificWarnings)
- $(ZLibSrcDir);%(AdditionalIncludeDirectories)
$(TreatWarningAsError)
Disabled
MultiThreadedDebugDLL
@@ -171,9 +164,7 @@
Windows
true
- zlib.lib
16
- $(OutDir)
@@ -195,18 +186,15 @@
true
false
$(DisableSpecificWarnings)
- $(ZLibSrcDir);%(AdditionalIncludeDirectories)
$(TreatWarningAsError)
Full
Windows
- true
+ false
true
true
- zlib.lib
16
- $(OutDir)
@@ -245,9 +233,6 @@
{c2d5eb6d-f4de-4dee-b5b8-b6fd26c22d33}
-
- {60f89955-91c6-3a36-8000-13c592fec2df}
-
diff --git a/libs/win32/zlib/zlib.vcxproj b/libs/win32/zlib/zlib.vcxproj
deleted file mode 100644
index ec44043925..0000000000
--- a/libs/win32/zlib/zlib.vcxproj
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {cdcec78e-d445-47ac-a2ae-debe2ce3a311}
-
-
-
- {60F89955-91C6-3A36-8000-13C592FEC2DF}
- Win32Proj
- zlib
-
-
-
-
- StaticLibrary
- v140
-
-
- StaticLibrary
- v140
-
-
- StaticLibrary
- v140
- false
-
-
- StaticLibrary
- v140
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
-
-
- true
-
-
- true
-
-
- true
-
-
-
- WIN32;_DEBUG;_WINDOWS;Z_SOLO;%(PreprocessorDefinitions)
- $(WarningLevel)
- ProgramDatabase
- Disabled
- true
- true
- $(DisableSpecificWarnings);4127;4131;4242;4244
- $(TreatWarningAsError)
- MultiThreadedDebugDLL
-
-
- MachineX86
- true
- Windows
-
-
-
-
- $(WarningLevel)
- ProgramDatabase
- Full
- true
- true
- false
- true
- true
- $(DisableSpecificWarnings);4127;4131;4242;4244
- $(TreatWarningAsError)
- WIN32;NDEBUG;_WINDOWS;Z_SOLO;%(PreprocessorDefinitions)
-
-
- MachineX86
- true
- Windows
- true
- true
-
-
- true
-
-
-
-
- X64
-
-
- WIN32;_DEBUG;_WINDOWS;Z_SOLO;%(PreprocessorDefinitions)
- $(WarningLevel)
- ProgramDatabase
- Disabled
- true
- true
- $(DisableSpecificWarnings);4127;4131;4242;4244
- $(TreatWarningAsError)
- MultiThreadedDebugDLL
-
-
- true
- Windows
-
-
-
-
- X64
-
-
- $(WarningLevel)
- ProgramDatabase
- Full
- true
- true
- false
- true
- true
- $(DisableSpecificWarnings);4127;4131;4242;4244
- $(TreatWarningAsError)
- WIN32;NDEBUG;_WINDOWS;Z_SOLO;%(PreprocessorDefinitions)
-
-
- true
- Windows
- true
- true
-
-
- true
-
-
-
-
-
-
\ No newline at end of file
diff --git a/w32/zlib-version.props b/w32/zlib-version.props
new file mode 100644
index 0000000000..48ad7072af
--- /dev/null
+++ b/w32/zlib-version.props
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+ 1.2.11
+
+
+ true
+
+
+
+
+
+ $(zlibVersion)
+
+
+
diff --git a/w32/zlib.props b/w32/zlib.props
index 9f152a267b..af8292a2c4 100644
--- a/w32/zlib.props
+++ b/w32/zlib.props
@@ -1,64 +1,61 @@
-
-
-
-
-
- $(SolutionDir)libs\zlib
-
-
- true
-
-
- EnableAllWarnings
- true
- 4255;4668;4710;4711;4746;4820;4996
+
+ $(BaseDir)libs\zlib-$(zlibVersion)
+
+
+
+
+
+
+
+
+
+
- $(SolutionDir)libs\zlib;%(AdditionalIncludeDirectories)
+ $(SolutionDir)libs\zlib-$(zlibVersion)\include;%(AdditionalIncludeDirectories)
HAVE_ZLIB;ZLIB_STATICLIB;%(PreprocessorDefinitions)
+
+ $(SolutionDir)libs\zlib-$(zlibVersion)\binaries\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)
+ zlib.lib;%(AdditionalDependencies)
+
\ No newline at end of file