Update READMEs to state usage of cmake 93/216493/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 25 Oct 2019 13:47:22 +0000 (14:47 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 25 Oct 2019 13:47:36 +0000 (13:47 +0000)
Change-Id: I1bb11eb52297e7b9b6a07df6a5f1b29d6d2c1db0

README.md
automated-tests/README.md

index 2933090..f976ac7 100644 (file)
--- a/README.md
+++ b/README.md
@@ -33,10 +33,14 @@ To build the repository enter the 'build/tizen' folder:
 
          $ cd dali-adaptor/build/tizen
 
-Then run the following commands:
+Then run the following command to set up the build:
+
+         $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
+
+If a Debug build is required, then add -DCMAKE_BUILD_TYPE=Debug
+
+To build run:
 
-         $ autoreconf --install
-         $ ./configure --prefix=$DESKTOP_PREFIX
          $ make install -j8
 
 ### Building and executing test cases
index 6eebe18..7a8e733 100644 (file)
@@ -46,8 +46,7 @@ Building dali adaptor:
     export CC=gcc
     export CXX=g++
     git clean -fxd . # Only do this in the build folder
-    autoreconf --install
-    CXXFLAGS='-g -O0 --coverage' LDFLAGS='--coverage' ./configure --prefix=$DESKTOP_PREFIX --enable-debug
+    CXXFLAGS='-g -O0 --coverage' LDFLAGS='--coverage' cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX -DCMAKE_BUILD_TYPE=Debug
     make -j8 install
 
 Note, you __must__ use a local build and not a distributed build, and you __must__ also build with debug enabled to allow *DALI_ASSERT_DEBUG* to trigger on wrong behaviour ( Which should always be a test case failure! )