X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README.md;h=17972bc1d33a98af416d932ec9094eea79ff064d;hb=73b6ad29479290f2ad49c4f7ac422544a33cd9dd;hp=220f0ba8aab11538c3ff168f1e79a01857e2cd31;hpb=d8bf279cb063b02da642dcf73837a843e064580e;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/README.md b/README.md index 220f0ba..17972bc 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,17 @@ ## 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 +63,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 +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