1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-24 17:51:47 +02:00
Files
.github
bin
module
vendor
CPR
ConcurrentQueue
Fmt
MaxmindDB
POCO
PUGIXML
SAJSON
SimpleIni
Squirrel
TinyDir
ZMQ
RELICENSE
builds
abi-compliance-checker
android
Dockerfile
README.md
android_build_helper.sh
build.sh
ci_build.sh
cmake
coverage
cygwin
deprecated-msvc
fuzz
gyp
ios
mingw32
nuget
openwrt
qnx
valgrind
vxworks
zos
Makefile.am
README
doc
external
include
m4
packaging
perf
src
tests
tools
unittests
AUTHORS
CMakeLists.txt
COPYING
COPYING.LESSER
Dockerfile
Doxygen.cfg
INSTALL
Jenkinsfile
Makefile.am
NEWS
README.cygwin.md
README.doxygen.md
README.md
SECURITY.md
SupportedPlatforms.md
acinclude.m4
appveyor.yml
autogen.sh
branding.bmp
ci_build.sh
ci_deploy.sh
config.sh
configure.ac
installer.ico
version.sh
CMakeLists.txt
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md
SqMod/vendor/ZMQ/builds/android/README.md
Sandu Liviu Catalin fc9419677f Initial ZMQ bindings.
2021-02-02 19:07:02 +02:00

34 lines
967 B
Markdown

# Android Build
## Prerequisites
You need the Android Native Development Kit (NDK) installed. See
[here](https://developer.android.com/ndk) to download it.
This project is tested against Android NDK version r21d.
If you installed version r21d all you have to do is to expose the NDK root
directory as environment variable, e.g:
export ANDROID_NDK_ROOT=$HOME/android-ndk-r21d
If you installed another version you have to expose the NDK root directory as
well as the NDK version, e.g:
export ANDROID_NDK_ROOT=$HOME/android-ndk-r17c
export NDK_VERSION=android-ndk-r17c
To specify the minimum sdk version set the environment variable below:
export MIN_SDK_VERSION=21 # Default value if unset
To specify the prefix directory set the environment variable below:
export ANDROID_BUILD_DIR=./builds/android/prefix/<android_arch> # Default value if unset
## Build
In the android directory, run:
./build.sh [ arm | arm64 | x86 | x86_64 ]