2011-10-24 22:20:52 +02:00
|
|
|
#!/bin/bash
|
2011-10-12 11:30:29 +02:00
|
|
|
|
|
|
|
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
|
2011-10-24 22:20:52 +02:00
|
|
|
if [ `uname` = "Linux" ]; then
|
|
|
|
pushd ../../
|
|
|
|
make BUILDTYPE=$1 -j 16
|
|
|
|
popd
|
|
|
|
else
|
|
|
|
xcodebuild -project ../cef.xcodeproj -configuration $1 -target $PROJECT_NAME
|
|
|
|
fi
|
2011-10-12 11:30:29 +02:00
|
|
|
fi
|