A platform independent standalone library that plays Lottie Animation.
- install meson build system. ( follow instruction in this link http://mesonbuild.com/Getting-meson.html )
- install ninja build tool (https://ninja-build.org/)
- invoke meson build/ or meson -Dexample=true build/
- invoke ninja inside the build folder.
NOTE: run meson configure to see all the build options
- meson configure -Dexample=true
- ninja
- to run examples invoke ./build/example/demo, etc.
- meson configure -Dtest=true
- ninja
- invoke testsuites as ./build/test/animationTestSuite and ./build/test/vectorTestSuite
librlottie can also be built using the cmake build system.
- install cmake. (Follow instructions at https://cmake.org/download/)
- create a new build/ directory
- invoke cmake from inside build/ as cmake -DLIB_INSTALL_DIR=lib ..
- invoke make
- invoke sudo make install to install, if desired.
To install to a different prefix, specify it when running cmake, e.g.:
cmake -DCMAKE_INSTALL_PREFIX:PATH=/Build -DLIB_INSTALL_DIR=/Build/lib ..