提交 807742c9 authored 作者: Michael Jerris's avatar Michael Jerris

Update GetLibs.vbs to properly return output when running builds of the dependency libs.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@77 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 52bdaddf
...@@ -210,10 +210,16 @@ End Sub ...@@ -210,10 +210,16 @@ End Sub
Sub BuildViaDevEnv(ProjectFile, BuildType) Sub BuildViaDevEnv(ProjectFile, BuildType)
Wscript.echo "Building : " & ProjectFile & " Config type: " & BuildType Wscript.echo "Building : " & ProjectFile & " Config type: " & BuildType
Set oExec = WshShell.Exec(Chr(34) & DevEnv & Chr(34) & " " & Chr(34) & ProjectFile & Chr(34) & " /Build " & BuildType) BuildCmd=Chr(34) & DevEnv & Chr(34) & " " & Chr(34) & ProjectFile & Chr(34) & " /Build " & BuildType
Do While oExec.Status <> 1 Set MyFile = fso.CreateTextFile(UtilsDir & "tmpBuild.Bat", True)
WScript.Sleep 100 MyFile.WriteLine("@" & BuildCmd)
Loop MyFile.Close
Set oExec = WshShell.Exec(UtilsDir & "tmpBuild.Bat")
Do
strFromProc = OExec.StdOut.ReadLine()
WScript.Echo strFromProc
Loop While Not OExec.StdOut.atEndOfStream
End Sub End Sub
Sub GetDevEnv() Sub GetDevEnv()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论