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

13 lines
250 B
Bash
Raw Normal View History

2019-11-23 20:27:39 +08:00
#put xctool.sh into your PATH
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2021-05-18 16:40:30 +08:00
ADXE_ROOT="$DIR"/../../../..
cd ${ADXE_ROOT}
2019-11-23 20:27:39 +08:00
mkdir linux-build
cd linux-build
cmake ..
if [ ! $? = 0 ]; then
echo "cmake generate error"
exit 1
fi
make -j4