X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README.md;h=f976ac7b57339209fae010e835c47efb56b7a389;hb=refs%2Fheads%2Fsandbox%2Fade%2Fvector;hp=691f4ab2b4787249e05e7532662c0d1686c49d49;hpb=ac30b9e017fcce28e379dfc532f8cbccd0fdf478;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/README.md b/README.md index 691f4ab..f976ac7 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,17 @@ ## 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 @@ -26,25 +33,15 @@ To build the repository enter the 'build/tizen' folder: $ cd dali-adaptor/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. +To build run: -Valid version options are 20, 30, 31 for OpenGL ES versions 2.0, 3.0 and 3.1 respectively. - -With configure: -Add: *--enable-gles=X* - -With gbs: -Add to the gbs build line: *--define "%target_gles_version X"* + $ make install -j8 ### Building and executing test cases