Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hotkit/fost-mobile
Android build configuration for NDK with Boost and Fost libraries.
https://github.com/hotkit/fost-mobile
Last synced: about 5 hours ago
JSON representation
Android build configuration for NDK with Boost and Fost libraries.
- Host: GitHub
- URL: https://github.com/hotkit/fost-mobile
- Owner: hotkit
- Created: 2014-11-11T04:10:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T05:07:53.000Z (over 4 years ago)
- Last Synced: 2024-05-01T21:16:58.105Z (7 months ago)
- Language: CMake
- Size: 243 KB
- Stars: 8
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fost-android-ndk #
Android build configuration for NDK with Boost and Fost libraries.
Use the latest NDK and it uses C++14 and the Clang compiler.
## To use ##
Add this repository as a git submodule in your Android project:
git submodule add [email protected]:KayEss/fost-android.git jni/fost-android
## Boost version ##
The version of Boost is 1.65.1. To change it do something like this:
git submodule foreach "git checkout boost-1.66.0 || echo Not boost"
There is a convenience script in [boost/](./boost/boost-version) for this. As the libraries are maintained you may find that new dependancies are introduced.
# Application.mk #
A sample application configuration:
APP_ABI := arm64-v8a armeabi-v7a x86 # crypto++ won't build for mips
APP_PLATFORM := android-9NDK_TOOLCHAIN_VERSION=clang
APP_STL := c++_static
APP_CPPFLAGS += -fexceptions -frtti# CMake #
* Crypto++ will not build for MIPS or early (non-NEON) ARM chips. `arm64-v8a`, `armeabi-v7a`, `x86` and `x86_64` are known to work.