X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README.md;h=b78598d7af052b7ec0a8e6fb6cad696c2a4ec78c;hb=15be5ede506992d0973159d2ebf6ed486ea7f480;hp=220f0ba8aab11538c3ff168f1e79a01857e2cd31;hpb=33cc47747db1fe7cfdb23cded801bd07d5275def;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/README.md b/README.md index 220f0ba..b78598d 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,23 @@ * [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