lib-lifx is a C++14 library for controlling LIFX devices. This library also includes a CLI tool for controlling LIFX lightbulbs, which can be used as an example for usage of the library.
- Premake5
- C++14 compiler
To compile lib-lifx, init & update the git submodules, then run premake with your preferred action in the root directory of the git checkout. Afterwards, you can compile in the build directory. When compiling, unit tests will run automatically to ensure the library is functioning correctly.
For example:
-
git submodule init
-
git submodule update
-
premake5 gmake
-
cd build
-
make -j