mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 05:48:33 +00:00
allow msvc build to work from source directory with a space in it.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1454 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
6daaf0844c
commit
2a07e46e34
18 files changed
+38
-38
No files matched your search
@@ -25,7 +25,7 @@
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="cscript /nologo $(InputDir)getlibs.vbs Core Debug"
|
||||
CommandLine="cscript /nologo "$(InputDir)getlibs.vbs" Core Debug"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
@@ -118,7 +118,7 @@
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="cscript /nologo $(InputDir)getlibs.vbs Core Release"
|
||||
CommandLine="cscript /nologo "$(InputDir)getlibs.vbs" Core Release"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
|
||||
@@ -895,7 +895,7 @@ Sub CreateSwitchVersion()
|
||||
End If
|
||||
VersionCmd="svnversion " & quote & FreeswitchDir & "." & quote & " -n"
|
||||
Set MyFile = fso.CreateTextFile(UtilsDir & "svnversion\tmpVersion.Bat", True)
|
||||
MyFile.WriteLine("@" & "cd " & UtilsDir & "svnversion")
|
||||
MyFile.WriteLine("@" & "cd " & quote & UtilsDir & "svnversion" & quote )
|
||||
MyFile.WriteLine("@" & VersionCmd)
|
||||
MyFile.Close
|
||||
Set oExec = WshShell.Exec(UtilsDir & "svnversion\tmpVersion.Bat")
|
||||
@@ -1051,7 +1051,7 @@ End Sub
|
||||
Sub UnCompress(Archive, DestFolder)
|
||||
wscript.echo("Extracting: " & Archive)
|
||||
Set MyFile = fso.CreateTextFile(UtilsDir & "tmpcmd.Bat", True)
|
||||
MyFile.WriteLine("@" & UtilsDir & "7za.exe x " & Archive & " -y -o" & DestFolder)
|
||||
MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & Archive & quote & " -y -o" & quote & DestFolder & quote )
|
||||
MyFile.Close
|
||||
Set oExec = WshShell.Exec(UtilsDir & "tmpcmd.Bat")
|
||||
Do
|
||||
@@ -1059,7 +1059,7 @@ Sub UnCompress(Archive, DestFolder)
|
||||
Loop While Not OExec.StdOut.atEndOfStream
|
||||
If FSO.FileExists(Left(Archive, Len(Archive)-3))Then
|
||||
Set MyFile = fso.CreateTextFile(UtilsDir & "tmpcmd.Bat", True)
|
||||
MyFile.WriteLine("@" & UtilsDir & "7za.exe x " & Left(Archive, Len(Archive)-3) & " -y -o" & DestFolder)
|
||||
MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & Left(Archive, Len(Archive)-3) & quote & " -y -o" & quote & DestFolder & quote )
|
||||
MyFile.Close
|
||||
Set oExec = WshShell.Exec(UtilsDir & "tmpcmd.Bat")
|
||||
Do
|
||||
@@ -1070,7 +1070,7 @@ Sub UnCompress(Archive, DestFolder)
|
||||
End If
|
||||
If FSO.FileExists(Left(Archive, Len(Archive)-3) & "tar")Then
|
||||
Set MyFile = fso.CreateTextFile(UtilsDir & "tmpcmd.Bat", True)
|
||||
MyFile.WriteLine("@" & UtilsDir & "7za.exe x " & Left(Archive, Len(Archive)-3) & "tar -y -o" & DestFolder)
|
||||
MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & Left(Archive, Len(Archive)-3) & "tar" & quote & " -y -o" & quote & DestFolder & quote )
|
||||
MyFile.Close
|
||||
Set oExec = WshShell.Exec(UtilsDir & "tmpcmd.Bat")
|
||||
Do
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="$(TargetPath) $(ProjectDir)pcre_chartables.c"
|
||||
CommandLine=""$(TargetPath)" "$(ProjectDir)pcre_chartables.c""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
@@ -168,7 +168,7 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="$(TargetPath) $(ProjectDir)pcre_chartables.c"
|
||||
CommandLine=""$(TargetPath)" "$(ProjectDir)pcre_chartables.c""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
|
||||
Reference in new issue
Block a user