## 1. Building for Ubuntu desktop
-### Minimum Requirements
+### Requirements
- Ubuntu 14.04 or later
+ - GCC version 6
+
+DALi requires a compiler supporting C++11 features.
+Ubuntu 16.04 is the first version to offer this by default (GCC v5.4.0).
+
+GCC version 6 is recommended since it has fixes for issues in version 5
+e.g. it avoids spurious 'defined but not used' warnings in header files.
+
### Creating a DALi Environment
$ cd dali-core/build/tizen
-Then run the following commands:
-
- $ autoreconf --install
- $ ./configure --prefix=$DESKTOP_PREFIX
- $ make install -j8
+Then run the following command to set up the build:
-### Build target options
+ $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
-OpenGL ES context:
+If a Debug build is required, then add -DCMAKE_BUILD_TYPE=Debug
-When building, the OpenGL ES version of the target should be specified.
-
-Valid version options are 20, 30, 31
-
-With configure:
-Add: *--enable-gles=X*
-
-With gbs:
-Add to the gbs build line: *--define "%target_gles_version X"*
+To build run:
+ $ make install -j8
### Building and executing test cases