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

9 lines
184 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 )"
COCOS2DX_ROOT="$DIR"/../..
cd ${COCOS2DX_ROOT}
mkdir linux-build
cd linux-build
cmake ..
make -j4