mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
rlottie
A platform independent standalone library that plays Lottie Animation.
BUILD INSTRUCTIONS
- 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
BUILD EXAMPLES
- meson configure -Dexample=true
- ninja
- to run examples invoke ./build/example/demo, etc.
RUN TESTS
- meson configure -Dtest=true
- ninja
- invoke testsuites as ./build/test/animationTestSuite and ./build/test/vectorTestSuite
BUILD WITH CMAKE
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 ..
Description
Languages
Swift
44.2%
C
43.5%
Objective-C
5.1%
Assembly
3.2%
C++
1.7%
Other
1.9%