Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.22 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.22 KB

XCalculator

Easy Calculator on iOS and Android - An example of Djinni


The sample about using Djinni.

Folder Structure

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

Build & Clean

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

Reference