/laserdocklib

client library to connect to laserdock

Primary LanguageCMakeGNU Lesser General Public License v3.0LGPL-3.0

laserdocklib

Client library to connect to Laserdock.

This library has three targets:

  1. laserdocklib -> library target
  2. laserdocktest -> simple test and printing of key parameters of laserdock
  3. laserdockcircle -> shows a white circle, demonstrating sending data into laserdock

Tested under OS X 10.11 and comes with libusb 1.0 dylib.

How to build for Android:

$ cp dist.local.cmake local.cmake
$ cp dist.local.android.cmake local.android.cmake
  1. Setup correct pathes in android.local.cmake
  2. Set BUILD_ANDROID ON in local.cmake and choose ABI with ANDROID_ABI in local.android.cmake

How to build for Linux:

In root directory:

$ rm -rf build && mkdir build && cd build
$ cmake .. .
$ make