Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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++

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
```