mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2331 from dumganhar/master
Updating genbindings.sh, cxx-generator ~> bindings-generator.
This commit is contained in:
commit
7114aef751
|
@ -176,7 +176,7 @@ if [ -z "${COCOS2DX_PULL_BASE+aaa}" ]; then
|
|||
echo This script will NOT automatically generate pull requests
|
||||
echo unless this variable is set.
|
||||
echo example
|
||||
echo COCOS2DX_PULL_BASE=\"cocos2d/cocos2d-x:gles20\"
|
||||
echo COCOS2DX_PULL_BASE=\"cocos2d/cocos2d-x:master\"
|
||||
echo COCOS2DX_PULL_BASE=\"username/repository:branch\"
|
||||
echo
|
||||
echo Exiting with success.
|
||||
|
|
|
@ -39,7 +39,7 @@ if [ -z "${COCOS2DX_ROOT+aaa}" ]; then
|
|||
fi
|
||||
|
||||
if [ -z "${CXX_GENERATOR_ROOT+aaa}" ]; then
|
||||
CXX_GENERATOR_ROOT="$COCOS2DX_ROOT/tools/cxx-generator"
|
||||
CXX_GENERATOR_ROOT="$COCOS2DX_ROOT/tools/bindings-generator"
|
||||
fi
|
||||
|
||||
if [ -z "${TOJS_ROOT+aaa}" ]; then
|
||||
|
@ -83,4 +83,4 @@ set -x
|
|||
LD_LIBRARY_PATH=${CLANG_ROOT}/lib $PYTHON_BIN ${CXX_GENERATOR_ROOT}/generator.py ${TO_JS_ROOT}/cocos2dx.ini -s cocos2d-x -o ${COCOS2DX_ROOT}/scripting/javascript/bindings/generated -n jsb_cocos2dx_auto
|
||||
|
||||
echo "Generating bindings for cocos2dx_extension..."
|
||||
LD_LIBRARY_PATH=${CLANG_ROOT}/lib $PYTHON_BIN ${CXX_GENERATOR_ROOT}/generator.py ${TO_JS_ROOT}/cocos2dx_extension.ini -s cocos2dx_extension -o ${COCOS2DX_ROOT}/scripting/javascript/bindings/generated -n jsb_cocos2dx_extension_auto
|
||||
LD_LIBRARY_PATH=${CLANG_ROOT}/lib $PYTHON_BIN ${CXX_GENERATOR_ROOT}/generator.py ${TO_JS_ROOT}/cocos2dx_extension.ini -s cocos2dx_extension -o ${COCOS2DX_ROOT}/scripting/javascript/bindings/generated -n jsb_cocos2dx_extension_auto
|
||||
|
|
Loading…
Reference in New Issue