Skip to content

Installation Guide

Jordan Ayvazian edited this page Aug 13, 2019 · 1 revision

Currently Lights++ is only available for Linux. Plans to compile for OSX and Windows are being worked on.

Dependencies: libcurlpp, jsoncpp, gcc, gtest(if you want to compile with tests)

Install as system library:

  • clone the project git clone https://github.com/jorbo/lightsplusplus
  • cd lightsplusplus
  • mkdir -p build
  • cd build
  • cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=0 ..
    • change to -DWITH_TESTS=1 if you want to complile with unit tests (requires gtest installed on the system)
  • cp src/liblightsplusplus.a /usr/lib

Add with CMake:

If you want to compile lightsplusplus with your project

  • Add this line to your CMakeList.txt add_subdirectory(/path/to/lightsplusplus/)

Arch Based Distro's:

  • lightsplusplus is available from the AUR as lightspp and lightspp-git (dev branch unstable)

Clone this wiki locally