mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 18:16:20 +01:00
19 lines
385 B
Bash
19 lines
385 B
Bash
|
#!/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
|