From: Bryce Harrington Date: Thu, 27 Sep 2018 04:50:11 +0000 (+0900) Subject: README: Document how to build using cmake X-Git-Tag: submit/tizen/20181129.071502~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1db8d75849def01c145e1dd5112c837dcb81d399;p=platform%2Fcore%2Fuifw%2Flottie-player.git README: Document how to build using cmake Reviewd-By: Hermet Park Change-Id: I25056d78d5b540fe0568825a617979b6439f508b --- diff --git a/README.txt b/README.txt index 0dfc8a7..e028653 100644 --- a/README.txt +++ b/README.txt @@ -18,3 +18,17 @@ 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 .. +