cef/cef1/tools/build_projects.sh
Marshall Greenblatt ea735c2663 - Windows: Update build_projects.bat to use MSBuild if available (issue #688).
- Linux: Update build_projects.sh to include the target name in the make command.


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1165 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-26 21:51:59 +00:00

19 lines
385 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 -j16 $PROJECT_NAME BUILDTYPE=$1
popd
else
xcodebuild -project ../cef.xcodeproj -configuration $1 -target "$PROJECT_NAME"
fi
fi