Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adwardstark/djinniinabottle
Use Djinni to generate a bridge between Native Code [ Java / Kotlin / Swift ] to C++
https://github.com/adwardstark/djinniinabottle
cpp cross-platform djinni kotlin-android mobile-development
Last synced: 12 days ago
JSON representation
Use Djinni to generate a bridge between Native Code [ Java / Kotlin / Swift ] to C++
- Host: GitHub
- URL: https://github.com/adwardstark/djinniinabottle
- Owner: adwardstark
- Created: 2019-07-18T10:12:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-19T07:38:43.000Z (over 5 years ago)
- Last Synced: 2024-03-24T13:36:05.736Z (8 months ago)
- Topics: cpp, cross-platform, djinni, kotlin-android, mobile-development
- Language: Swift
- Homepage:
- Size: 129 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Djinni In A Bottle
Use Djinni to generate a bridge between Native Code [ Java / Kotlin / Swift ] to C++Every new language introduces a great change in mobile development and there are a number of advantages to using them. Usually this means writing the same functionality in multiple languages which is a bad practice. This project features an interesting technique for simplifying the codebase by utilising the power of C++ to achieve more maintainable cross platform development.
### Dependencies
- Node
- Android Studio ( with NDK )
- Xcode ( MacOS required )### Build
1. Install djinni
```
npm install
```2. Generate djinni bindings
```
./run_djinni.sh
```3. Compile
- For Android
```
cd android./gradlew build
```- For iOS
```
1. Open project in Xcode
2. Go to Product > Build
```