[asterisk-commits] dsessions: testsuite/bamboo/trunk r1336 - /bamboo/trunk/bin/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 17 08:37:09 CST 2011
Author: dsessions
Date: Mon Jan 17 08:37:05 2011
New Revision: 1336
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1336
Log:
Added build-asterisk-scf-wrapper.bat for Visual Studio support.
Added:
bamboo/trunk/bin/build-asterisk-scf-wrapper.bat (with props)
Added: bamboo/trunk/bin/build-asterisk-scf-wrapper.bat
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk-scf-wrapper.bat?view=auto&rev=1336
==============================================================================
--- bamboo/trunk/bin/build-asterisk-scf-wrapper.bat (added)
+++ bamboo/trunk/bin/build-asterisk-scf-wrapper.bat Mon Jan 17 08:37:05 2011
@@ -1,0 +1,35 @@
+ at echo off
+
+if "%1" == "" goto usage
+if "%2" == "" goto usage
+if not "%3" == "" goto usage
+
+ at call "C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" %1
+
+SET BINDIR=C:/bamboo
+
+mkdir bamboo
+cd bamboo
+svn co http://svn.asterisk.org/svn/testsuite/bamboo/trunk
+cd trunk
+nmake -F Makefile.mak install
+cd ..\..
+rmdir /S /Q bamboo
+
+bash -c "set -e"
+bash -c "%BINDIR%/build-asterisk-scf.sh %2"
+
+goto :eof
+
+:usage
+echo:
+echo Error in script usage. The correct usage is:
+echo %0 [arch] [asterisk scf repo]
+echo:
+echo where [arch] is: x86 ^| amd64
+echo and
+echo where [asterisk scf repo] is an Asterisk SCF git repository.
+echo:
+echo For example:
+echo %0 x86 sip
+goto :eof
Propchange: bamboo/trunk/bin/build-asterisk-scf-wrapper.bat
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: bamboo/trunk/bin/build-asterisk-scf-wrapper.bat
------------------------------------------------------------------------------
svn:executable = *
Propchange: bamboo/trunk/bin/build-asterisk-scf-wrapper.bat
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: bamboo/trunk/bin/build-asterisk-scf-wrapper.bat
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list