mirror of https://github.com/axmolengine/axmol.git
set -x in build script so that entire command line is available in the build log
This commit is contained in:
parent
2f5613595b
commit
abcb6b33a7
|
@ -67,10 +67,12 @@ done
|
||||||
|
|
||||||
if [[ "$buildexternalsfromsource" ]]; then
|
if [[ "$buildexternalsfromsource" ]]; then
|
||||||
echo "Building external dependencies from source"
|
echo "Building external dependencies from source"
|
||||||
|
set -x
|
||||||
"$NDK_ROOT"/ndk-build -C "$APP_ANDROID_ROOT" $* \
|
"$NDK_ROOT"/ndk-build -C "$APP_ANDROID_ROOT" $* \
|
||||||
"NDK_MODULE_PATH=${COCOS2DX_ROOT}:${COCOS2DX_ROOT}/cocos2dx/platform/third_party/android/source"
|
"NDK_MODULE_PATH=${COCOS2DX_ROOT}:${COCOS2DX_ROOT}/cocos2dx/platform/third_party/android/source"
|
||||||
else
|
else
|
||||||
echo "Using prebuilt externals"
|
echo "Using prebuilt externals"
|
||||||
|
set -x
|
||||||
"$NDK_ROOT"/ndk-build -C "$APP_ANDROID_ROOT" $* \
|
"$NDK_ROOT"/ndk-build -C "$APP_ANDROID_ROOT" $* \
|
||||||
"NDK_MODULE_PATH=${COCOS2DX_ROOT}:${COCOS2DX_ROOT}/cocos2dx/platform/third_party/android/prebuilt"
|
"NDK_MODULE_PATH=${COCOS2DX_ROOT}:${COCOS2DX_ROOT}/cocos2dx/platform/third_party/android/prebuilt"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue