forked from moritz-wundke/Boost-for-Android
-
Notifications
You must be signed in to change notification settings - Fork 42
/
do.sh
executable file
·26 lines (14 loc) · 801 Bytes
/
do.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Author: Declan Moran
#----------------------------------------------------------------
# Modify the variables below as appropriate for your local setup.
#----------------------------------------------------------------
# Specify the path to boost source code dir
export BOOST_DIR=$(pwd)/down/boost/1.83.0
# Where the Android Ndk you want to build with is located
export NDK_DIR=$(pwd)/down/ndk/26c
# Which target abis (~ architecture + instruction set) you want to build for (separate by spaces)
export ABI_NAMES="arm64-v8a armeabi-v7a x86 x86_64"
# Whether to build boost as dynamic or shared libraries (or both)
export LINKAGES="shared static" # can be "shared" or "static" or "shared static" (both)
#----------------------------------------------------------------
./__build.sh