axmol/tools/jenkins-scripts/slave-scripts/mac-build.sh

9 lines
183 B
Bash
Raw Normal View History

2015-03-03 16:36:42 +08:00
#put xctool.sh into your PATH
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2015-03-10 14:40:04 +08:00
COCOS2DX_ROOT="$DIR"/../../..
2015-03-03 16:36:42 +08:00
cd ${COCOS2DX_ROOT}
mkdir mac-build
cd mac-build
cmake ..
make -j4