Skip to content

System233/boost-android-prebuilt

Repository files navigation

Boost prebuilt for Android

Boost library build scripts for Android, prebuilt binaries are here.

  • CXX Standard: c 20
  • Android ABI: armeabi-v7a, arm64-v8a, x86, x86_64
  • Android API Level: 19-34 (no 20, 19 requires NDK <= r25)
  • Linker: static, shared
  • Repository Dependencies: Boost, ICU

Usage

export ANDROID_NDK_HOME=<Your Android NDK Location>
build.sh [armeabi-v7a|arm64-v8a|x86|x86_64] [API-Level] [boost-version-tag] [icu-version-tag] [shared|static]

Version Tag

boost-version-tag list
icu-version-tag list

Example

export ANDROID_NDK_HOME=<Your Android NDK Location>
git clone https://github.com/System233/boost-android-prebuilt.git
cd boost-android-prebuilt
./build.sh arm64-v8a 31

The build output will be placed in the dist directory.

Note

On Windows platforms, you need MSYS2 to execute the build scripts.

Please enjoy it😝.