https://github.com/nanogiants/appcom-djinni-common
This library contains functions that are commonly used in appcom djinni projects.
https://github.com/nanogiants/appcom-djinni-common
Last synced: 4 months ago
JSON representation
This library contains functions that are commonly used in appcom djinni projects.
- Host: GitHub
- URL: https://github.com/nanogiants/appcom-djinni-common
- Owner: nanogiants
- License: mit
- Created: 2019-05-24T14:08:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T11:08:00.000Z (over 5 years ago)
- Last Synced: 2025-02-19T12:56:12.986Z (4 months ago)
- Language: Shell
- Size: 126 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# appcom djinni common
[](https://travis-ci.com/appcom-interactive/appcom-djinni-common)
This library contains functions that are commonly used in appcom djinni projects.
## Dependencies
The following libraries must be installed in the corresponding folder for the target platform (`android` for Android and
`ios` for iOS). All libraries should be added as static libraries to keep the artifacts at a reasonable size (except the
djinni support library for Android).
The header files must be placed under `android/include` or `ios/include` and the library files must be added to
`android/lib/$ARCH$` or `ios/lib`, depending on the target platform. For Android there must be a subfolder ($ARCH$) for
each architecture (`arm64-v8a`, `armeabi-v7a`, `x86` and `x86_64`).* [Boost](https://www.boost.org) 1.70.0
* [Niels Lohmann JSON](https://github.com/nlohmann/json) 3.6.1
* [Dropdbox Djinni](https://github.com/dropbox/djinni)### Dropbox Djinni
Dropbox djinni is required to be present at `deps/djinni`. This can be achieved via a git submodule:
```
git submodule add [email protected]:dropbox/djinni.git deps/djinni/
```## Build tools
To be able to build the library the following tools must be present.
* Android SDK - https://developer.android.com/studio/index.html
* Android NDK - https://developer.android.com/ndk/downloads/index.html
* CMake - https://cmake.org### iOS
* Xcode - https://developer.apple.com/xcode/
* CMake - https://cmake.org## Building
To build the library the build script for the target platform can be executed (`build-android.sh` or `build-ios.sh`).
For Android, the environmental ANDROID_NDK must be set to the path of the android ndk.