-
Notifications
You must be signed in to change notification settings - Fork 0
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)
- clone the project
git clone https://github.com/jorbo/lightsplusplus cd lightsplusplusmkdir -p buildcd build-
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=0 ..- change to
-DWITH_TESTS=1if you want to complile with unit tests (requires gtest installed on the system)
- change to
cp src/liblightsplusplus.a /usr/lib
If you want to compile lightsplusplus with your project
- Add this line to your CMakeList.txt
add_subdirectory(/path/to/lightsplusplus/)
- lightsplusplus is available from the AUR as lightspp and lightspp-git (dev branch unstable)