3 1. install meson build system. ( follow instruction in this link http://mesonbuild.com/Getting-meson.html )
4 2. install ninja build tool (https://ninja-build.org/)
5 3. invoke meson build/ or meson -Dexample=true build/
6 4. invoke ninja inside the build folder.
8 NOTE: run meson configure to see all the build options
12 1. meson configure -Dexample=true
14 3. to run examples invoke ./build/example/demo, etc.
18 1. meson configure -Dtest=true
20 3. invoke testsuites as ./build/test/animationTestSuite and ./build/test/vectorTestSuite
24 liblottie-player can also be built using the cmake build system.
26 1. install cmake. (Follow instructions at https://cmake.org/download/)
27 2. create a new build/ directory
28 3. invoke cmake from inside build/ as cmake -DLIB_INSTALL_DIR=lib ..
30 5. invoke sudo make install to install, if desired.
32 To install to a different prefix, specify it when running cmake, e.g.:
33 cmake -DCMAKE_INSTALL_PREFIX:PATH=~/Build -DLIB_INSTALL_DIR=~/Build/lib ..