modify xbuild.sh

This commit is contained in:
zhengshuxin 2019-10-08 17:58:16 +08:00
parent a47a20359e
commit 354be8a1f5

View File

@ -4,11 +4,11 @@ RELEASE_PATH=android/lib/armeabi-v7a
BUILD_PATH=build/release/armv7-a BUILD_PATH=build/release/armv7-a
mkdir -p $RELEASE_PATH mkdir -p $RELEASE_PATH
rm -rf .xmake rm -rf .xmake
rm -r build/release rm -rf build/release
xmake f -k shared -p android --ndk=/data/zsx/android-ndk-r16b/ -c --ndk_cxxstl=gnustl_shared; xmake xmake f -k shared -p android --ndk=/data/zsx/android-ndk-r16b/ -c --ndk_cxxstl=gnustl_shared; xmake
cp -a $BUILD_PATH/*.so $RELEASE_PATH/ cp -a $BUILD_PATH/*.so $RELEASE_PATH/
rm -rf .xmake rm -rf .xmake
rm -r build/release rm -rf build/release
xmake f -k static -p android --ndk=/data/zsx/android-ndk-r16b -c --ndk_cxxstl=gnustl_shared; xmake xmake f -k static -p android --ndk=/data/zsx/android-ndk-r16b -c --ndk_cxxstl=gnustl_shared; xmake
cp $BUILD_PATH/*.a $RELEASE_PATH/ cp $BUILD_PATH/*.a $RELEASE_PATH/