diff --git a/w32/vsnet/GetLibs.vbs b/w32/vsnet/GetLibs.vbs index 3db52b4f83..d701004d4f 100644 --- a/w32/vsnet/GetLibs.vbs +++ b/w32/vsnet/GetLibs.vbs @@ -22,7 +22,6 @@ UtilsDir=Showpath(ScriptDir & "Tools") GetTarGZObjects UtilsDir GetVCBuild Wscript.echo "Detected VCBuild: " & VCBuild - If objArgs.Count >=2 Then Select Case objArgs(1) Case "Release" @@ -148,6 +147,32 @@ Sub BuildLibs_Core(BuildDebug, BuildRelease) Else Wscript.echo "Unable to download SQLite" End If + + If Not FSO.FolderExists(LibDestDir & "iksemel") Then + WgetUnTarGz "http://jabberstudio.2nw.net/iksemel/iksemel-1.2.tar.gz", LibDestDir + If Not FSO.FolderExists(LibDestDir & "iksemel-1.2") Then + Wscript.echo "Unable to get iksemel from default download location, Trying backup location:" + WgetUnTarGz "http://www.sofaswitch.org/mikej/iksemel-1.2.tar.gz", LibDestDir + End If + RenameFolder LibDestDir & "iksemel-1.2", "iksemel" + FSO.CopyFile Utilsdir & "iksemel\iksemel.vcproj", LibDestDir & "iksemel\", True + FSO.CopyFile Utilsdir & "iksemel\config.h", LibDestDir & "iksemel\include\", True + End If + If FSO.FolderExists(LibDestDir & "iksemel") Then + If BuildDebug Then + If Not FSO.FileExists(LibDestDir & "iksemel\Debug\iksemel.lib") Then + BuildViaVCBuild LibDestDir & "iksemel\iksemel.vcproj", "Debug" + End If + End If + If BuildRelease Then + If Not FSO.FileExists(LibDestDir & "iksemel\Release\iksemel.lib") Then + BuildViaVCBuild LibDestDir & "iksemel\iksemel.vcproj", "Release" + End If + End If + Else + Wscript.echo "Unable to download iksemel" + End If + End Sub Sub BuildLibs_ModExosip(BuildDebug, BuildRelease) diff --git a/w32/vsnet/Tools/iksemel/iksemel.vcproj b/w32/vsnet/Tools/iksemel/iksemel.vcproj index b687d0a79f..33770afb83 100644 --- a/w32/vsnet/Tools/iksemel/iksemel.vcproj +++ b/w32/vsnet/Tools/iksemel/iksemel.vcproj @@ -41,12 +41,12 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="include" - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;HAVE_CONFIG_H" + PreprocessorDefinitions="WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" UsePrecompiledHeader="0" - WarningLevel="3" + WarningLevel="0" Detect64BitPortabilityProblems="true" DebugInformationFormat="4" /> @@ -103,10 +103,10 @@ />