Coder Social home page Coder Social logo

igroomgrim / cookpit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kittinunf/cookpit

0.0 2.0 0.0 44.13 MB

Flickr API implementation for Android/iOS with C++ core

Makefile 0.85% Java 0.16% Kotlin 19.19% Python 1.62% C++ 11.15% Swift 15.47% Objective-C 48.68% Shell 2.89%

cookpit's Introduction

Cookpit

Flickr API implementation for Android/iOS with C++ core

Requirement

  • python (required for gyp)
  • xcode & xcodebuild
  • android ndk and ndk-build on your PATH to build for android
  • Configure the paths to your Android SDK and Android NDK in your local.properties

Installation

  • Run make lib to build xcodeproj for shared library.
  • Run make ios to build library for iOS project, located under ios/
  • Run make android to trigger ndk-build for Android project, located under android/

Building

  • Running any make command will automatically download gyp and create .xcodeproj files suitable for developing on each platform.
  • Please consult iOS and Android folder for more detail on the application layer.

Make targets:

  • clean - clean all generated files
  • ios - build library name libcookpit.a, libcookpit_ios.a suitable for iOS
  • android - build library name libcookpit_android.so suitable for Android

Tools

  • gyp - generates xcode project to develop iOS and C++ (nobody likes adding files and configure project manually)
  • djinni - generates all bridging code for C++, Java, Objective-C/C++

Folder structure

Cookpit
├── android/ # Android app (Android studio project)
├── cpp/ # Core cpp code and xcodeproj for develop C++
├── djinni/ # Djinni's interface files
├── ios/ # iOS app (open .xcworkspace)
├── utils/ # tools for tedious works, glob, clang-format etc.
├── vendors/ # 3rd party libraries and 3rd party libraries for C++ (gyp, djinni is also here)
├── common.gypi/ # gyp configuration file (common)
└── cookpit.gyp/ # gyp configuration file for this project

cookpit's People

Contributors

kittinunf avatar jmangod avatar

Watchers

James Cloos avatar Anak Mirasing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.