25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
502B

  1. #!/bin/bash
  2. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  3. brew install cmake
  4. cd ..
  5. git clone --depth=50 https://github.com/xia-chu/ZLToolKit.git
  6. cd ZLToolKit
  7. mkdir -p android_build
  8. rm -rf ./build
  9. ln -s ./android_build ./build
  10. cd android_build
  11. cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/android.toolchain.cmake -DANDROID_NDK=$ANDROID_NDK_ROOT -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="armeabi" -DANDROID_NATIVE_API_LEVEL=android-9
  12. make -j4
  13. sudo make install