Change-Id: I1bb11eb52297e7b9b6a07df6a5f1b29d6d2c1db0
$ cd dali-adaptor/build/tizen
$ 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
$ make install -j8
### Building and executing test cases
export CC=gcc
export CXX=g++
git clean -fxd . # Only do this in the build folder
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! )
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! )