DALi Version 1.5.3
[platform/core/uifw/dali-core.git] / README.md
index 220f0ba..b78598d 100644 (file)
--- a/README.md
+++ b/README.md
          * [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
 
@@ -55,26 +64,15 @@ To build the repository enter the 'build/tizen' folder:
 
          $ 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
 
@@ -94,3 +92,13 @@ See the README.md in dali-core/automated-tests.
 
          $ 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