1 Star 0 Fork 183

greatitman / ZLToolKit

forked from 夏楚 / ZLToolKit 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
build_for_android.sh 502 Bytes
Copy Edit Web IDE Raw Blame History
夏楚 authored 2021-01-17 17:51 . 全面整理代码,消除编译警告
#!/bin/bash
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install cmake
cd ..
git clone --depth=50 https://github.com/xia-chu/ZLToolKit.git
cd ZLToolKit
mkdir -p android_build
rm -rf ./build
ln -s ./android_build ./build
cd android_build
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
make -j4
sudo make install

Comment ( 0 )

Sign in for post a comment

C++
1
https://gitee.com/greatitman/ZLToolKit.git
git@gitee.com:greatitman/ZLToolKit.git
greatitman
ZLToolKit
ZLToolKit
master

Search

105716 1d94204e 1850385 105716 2d26be5c 1850385