iksemel build on win32.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@179 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2005-12-20 19:10:21 +00:00
parent 7b9975902f
commit f13315cb41
2 changed files with 30 additions and 5 deletions

View File

@ -22,7 +22,6 @@ UtilsDir=Showpath(ScriptDir & "Tools")
GetTarGZObjects UtilsDir GetTarGZObjects UtilsDir
GetVCBuild GetVCBuild
Wscript.echo "Detected VCBuild: " & VCBuild Wscript.echo "Detected VCBuild: " & VCBuild
If objArgs.Count >=2 Then If objArgs.Count >=2 Then
Select Case objArgs(1) Select Case objArgs(1)
Case "Release" Case "Release"
@ -148,6 +147,32 @@ Sub BuildLibs_Core(BuildDebug, BuildRelease)
Else Else
Wscript.echo "Unable to download SQLite" Wscript.echo "Unable to download SQLite"
End If 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 End Sub
Sub BuildLibs_ModExosip(BuildDebug, BuildRelease) Sub BuildLibs_ModExosip(BuildDebug, BuildRelease)

View File

@ -41,12 +41,12 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="include" 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" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="0"
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="4" DebugInformationFormat="4"
/> />
@ -103,10 +103,10 @@
/> />
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB" PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="0"
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="3" DebugInformationFormat="3"
/> />