Update CEF Automation Tool for Mac support (issue #373).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@312 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-10-12 09:30:29 +00:00
parent 20c129038f
commit 58b3d51bce
2 changed files with 48 additions and 24 deletions

13
tools/build_projects.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
if [ -z "$1" ]; then
echo "ERROR: Please specify a build target: Debug or Release"
else
if [ -z "$2" ]; then
PROJECT_NAME='cefclient'
else
PROJECT_NAME=$2
fi
xcodebuild -project ../cef.xcodeproj -configuration $1 -target $PROJECT_NAME
fi