* [NON-SMACK Targets](#non-smack-targets)
* [SMACK enabled Targets](#smack-enabled-targets)
* [DEBUG Builds](#debug-builds)
+ * [3. Building for MS Windows](#3-building-for-ms-windows)
# Build Instructions
## 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
-
-### 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
+If a Debug build is required, then add -DCMAKE_BUILD_TYPE=Debug
-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
$ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"
+## 3. Building for MS Windows
+
+Third party dependencies are built using vcpkg. Instructions on how to install vcpkg can be found in the
+vcpkg-script folder in the windows-dependencies repository.
+
+- Download the windows-dependencies repository from DaliHub
+
+ $ git clone https://github.com/dalihub/windows-dependencies.git
+
+- Read the README.md and vcpkg-script/Readme.md files for more instructions on how to install and build the third-party dependencies.
\ No newline at end of file