[asterisk-commits] dsessions: testsuite/bamboo/trunk r1342 - /bamboo/trunk/bin/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 20 13:17:21 CST 2011


Author: dsessions
Date: Thu Jan 20 13:17:17 2011
New Revision: 1342

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1342
Log:
Added support for a manual build of pjproject using msbuild.

Modified:
    bamboo/trunk/bin/build-asterisk-scf.sh

Modified: bamboo/trunk/bin/build-asterisk-scf.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk-scf.sh?view=diff&rev=1342&r1=1341&r2=1342
==============================================================================
--- bamboo/trunk/bin/build-asterisk-scf.sh (original)
+++ bamboo/trunk/bin/build-asterisk-scf.sh Thu Jan 20 13:17:17 2011
@@ -1,5 +1,7 @@
 #!/usr/bin/env bash
 # Super simple build script for Asterisk SCF's gitall repo
+
+MSBUILD_PATH=/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe
 
 set -e
 
@@ -15,12 +17,10 @@
 COMPONENT_REV=`cat .git/refs/heads/master`
 COMPONENT_NAM=$@
 
-
 git clone git://git.asterisk.org/asterisk-scf/integration/gitall
 cd gitall
 
 ./gitall-asterisk-scf.sh
-
 
 if [[ "$COMPONENT_NAM" == "gitall" ]]
 then
@@ -77,8 +77,25 @@
 # Everything should be in place for a buildy-build.
 if [[ "$platform" == "win32" ]]
 then
-	./cmake/init-cmake.sh --vs10
-	C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe ./build/ALL_BUILD.vcxproj	
+	./cmake/init-cmake.sh --nmake
+	cd pjproject/pjlib/build
+	$MSBUILD_PATH pjlib.vcxproj
+	cd ../../pjlib-util/build
+	$MSBUILD_PATH pjlib_util.vcxproj
+	cd ../../pjmedia/build
+	$MSBUILD_PATH pjmedia.vcxproj
+	$MSBUILD_PATH pjmedia_audiodev.vcxproj
+	cd ../../third_party/build/srtp
+	$MSBUILD_PATH libsrtp.vcxproj
+	cd ../../../pjnath/build
+	$MSBUILD_PATH pjnath.vcxproj
+	cd ../../pjsip/build
+	$MSBUILD_PATH pjsip_simple.vcxproj
+	$MSBUILD_PATH pjsip_ua.vcxproj
+	$MSBUILD_PATH pjsip_core.vcxproj
+	$MSBUILD_PATH pjsua_lib.vcxproj
+	cd ../../../build
+	nmake -F Makefile
 else
 	./cmake/init-cmake.sh
 	cmake --build ./build




More information about the asterisk-commits mailing list