0 Star 0 Fork 22

msly2008/zeus-cocos2dx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build-emscripten.sh 716 Bytes
一键复制 编辑 原始数据 按行查看 历史
愤怒的泡面 提交于 2013-08-23 12:49 . + Add cocos2d-x engine files
#!/bin/bash
# Build script to build all components for emscripten.
#
# By default this script will build the 'all' target in
# both debug and release configurations. Pass "clean" to
# clean all configuration.
SCRIPT_DIR=$(dirname ${BASH_SOURCE})
set -e
set -x
cd $SCRIPT_DIR
if [ "$PYTHON" == "" ]; then
command -v python >/dev/null 2>&1 || (echo "Please install python and set \$PYTHON" && exit 1)
PYTHON=`which python`
fi
if [ "$LLVM" == "" ]; then
command -v clang >/dev/null 2>&1 || (echo "Please install LLVM and clang, and set \$LLVM" && exit 1)
LLVM=$(dirname `which clang`)
fi
export LLVM_ROOT=$LLVM
make PLATFORM=emscripten DEBUG=1 -j10 $*
make PLATFORM=emscripten DEBUG=0 -j10 $*
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/msly/zeus-cocos2dx.git
git@gitee.com:msly/zeus-cocos2dx.git
msly
zeus-cocos2dx
zeus-cocos2dx
master

搜索帮助