## 1. Building for Ubuntu desktop
-### Minimum Requirements
+### Requirements
- Ubuntu 14.04 or later
- Environment created using dali_env script in dali-core repository
+ - 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.
### Building the Repository
$ cd dali-adaptor/build/tizen
-Then run the following commands:
-
- $ autoreconf --install
- $ ./configure --prefix=$DESKTOP_PREFIX
- $ make install -j8
-
-### Build target options
-
-OpenGL ES context:
+Then run the following command to set up the build:
-When building, the OpenGL ES version of the target should be specified.
+ $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
-Valid version options are 20, 30, 31 for OpenGL ES versions 2.0, 3.0 and 3.1 respectively.
+If a Debug build is required, then add -DCMAKE_BUILD_TYPE=Debug
-With configure:
-Add: *--enable-gles=X*
+To build run:
-With gbs:
-Add to the gbs build line: *--define "%target_gles_version X"*
+ $ make install -j8
### Building and executing test cases
### DEBUG Builds
$ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"
-