lottie/example: Added image_test.json(resource with image resource )
[platform/core/uifw/lottie-player.git] / README.txt
index 9e308c7..e028653 100644 (file)
@@ -1,14 +1,34 @@
-BUILD INSTRUCTION
-=================
+BUILD INSTRUCTIONS
+==================
 1. install meson build system. ( follow instruction in this link http://mesonbuild.com/Getting-meson.html )
 2. install ninja build tool    (https://ninja-build.org/)
-4. invoke meson build/  or meson -Dexample=true build/
-5. invoke ninja inside the build folder.
+3. invoke meson build/  or meson -Dexample=true build/
+4. invoke ninja inside the build folder.
 
 NOTE: run meson configure to see all the build options
 
-BUILD EXAMPLE
-===============
+BUILD EXAMPLES
+==============
 1. meson configure -Dexample=true
 2. ninja
-3. to run example invoke ./build/example/demo
+3. to run examples invoke ./build/example/demo, etc.
+
+RUN TESTS
+=========
+1. meson configure -Dtest=true
+2. ninja
+3. invoke testsuites as ./build/test/animationTestSuite and ./build/test/vectorTestSuite
+
+BUILD WITH CMAKE
+================
+liblottie-player can also be built using the cmake build system.
+
+1. install cmake.  (Follow instructions at https://cmake.org/download/)
+2. create a new build/ directory
+3. invoke cmake from inside build/ as cmake -DLIB_INSTALL_DIR=lib ..
+4. invoke make
+5. 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 ..
+