Easy Calculator on iOS and Android - An example of Djinni
The sample about using Djinni.
hellodjinni/
├─project/
│ ├─android/
│ │ ├─HelloDjinni/ # Android Project with GYP & ndk-build
│ │ └─HelloDjinni2/ # Android Project with Experimental Plugin
│ ├─cpp/
│ │ └─HelloDjinni/ # Cpp Test Project
│ └─ios/
│ ├─HelloDjinni/
│ └─HelloDjinni.xcworkspace/ # iOS Project Workspace
├─src/
│ └─cpp/ # Cpp Interface Impls
├─tools/ # Helper Scripts
└─local.properties # Local Properties
Set local.properties
:
djinni.dir=<path-to-djinni>
gyp.dir=<path-to-gyp>
ndk.dir=<path-to-ndk>
Build all:
$ cd sample/hellodjinni/project/
$ make
Clean all:
$ make clean