forked from moritz-wundke/Boost-for-Android
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathdo.sh
More file actions
executable file
·25 lines (16 loc) · 974 Bytes
/
Copy pathdo.sh
File metadata and controls
executable file
·25 lines (16 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#----------------------------------------------------------------
# Modify the variables below as appropriate for your local setup.
#----------------------------------------------------------------
# Specify the path to boost (unzipped) source code dir (see also `down/boost/readme.md`)
export BOOST_DIR=$(pwd)/down/boost/1.92.0
# Where the Android Ndk you want to build with is located (see also `down/ndk/readme.md)
export NDK_DIR=$(pwd)/down/ndk/r30
# Which target abis (~ architecture + instruction set) you want to build for (separate by spaces)
export ABI_NAMES="arm64-v8a armeabi-v7a x86 x86_64"
# export ABI_NAMES="arm64-v8a"
# Whether to build boost as dynamic or shared libraries (or both)
export LINKAGES="shared static" # can be "shared" or "static" or "shared static" (both)
#export LINKAGES="shared" # can be "shared" or "static" or "shared static" (both)
#----------------------------------------------------------------
./__build.sh