Code Monkey home page Code Monkey logo

leapcxx's Issues

Enable Travis continuous integration for LeapCxx

There's much room for improvement in LeapCxx, and it may soon be wide-open to the open-source community.

As small changes can break the entire build, at a minimum we should maintain a .travis.yml file to test the basic configurations we have working so far, such as LeapC++Test unit-tests and the Sample.py sanity-test.

Disentangle LeapPython/Java build from shared LeapC++.dll

Currently LeapPython and LeapJava require setting USE_SHARED_LIBS to reflect that they must be built as DLLs. However, this also forces LeapC++.dll to be a DLL, leaving a fragile binding approach that requires three native DLLs in the following structure: managed code -> LeapPython.pyd -> LeapC++.dll -> LeapC.dll

Within the above chain, LeapPython.pyd and the code from LeapC++ can be compiled into a single LeapPython.pyd. In fact with the original Leap Motion Android alpha we actually resorted to such combining in order to make things work more smoothly without too many shared object files.

This is a nice-to-have. Alternatively the community can go straight to a ctypes-based language wrapper for LeapPython and the corresponding rewrite for LeapJava, then each binding requires only a single native DLL: LeapC.dll

How to build LeapCxx inside my Cmake project

Hello,

first, thanks for providing this Wrapper for the new LeapC SDK.
I am pretty inexperienced with CMake, so sorry some newbie questions.

I already worked with LeapCxx and used for this the CMake project from this Repo. So I build my files inside the samples folder.
Well, for the future I want a clean CMake project structure, so my question is how is the best way to build LeapCxx?
I only know some basic stuff like find_package() or find_library() with the prefix path or cmake-modules. I guess it does not work here.
Would be awesome if you could give an easy example, like a minimum CMake file, to build LeapCxx.

Thanks in advance

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.