cef/cef1/tools/build_projects.sh
Marshall Greenblatt de2ac7a2c1 Create 1364 release branch for CEF1.
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1364@984 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-14 22:58:17 +00:00

19 lines
372 B
Bash
Executable File

#!/bin/bash
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
if [ `uname` = "Linux" ]; then
pushd ../../
make BUILDTYPE=$1 -j 16
popd
else
xcodebuild -project ../cef.xcodeproj -configuration $1 -target "$PROJECT_NAME"
fi
fi