X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README.md;h=cc06c8222a097cd6e409e36c805e1dc0f13a0be3;hb=c81be73d272714f5004f9d3ee065e3f0bd18a94d;hp=691f4ab2b4787249e05e7532662c0d1686c49d49;hpb=ac30b9e017fcce28e379dfc532f8cbccd0fdf478;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/README.md b/README.md index 691f4ab..cc06c82 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 - -### 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 for OpenGL ES versions 2.0, 3.0 and 3.1 respectively. +If a Debug build is required, then add -DCMAKE_BUILD_TYPE=Debug -With configure: -Add: *--enable-gles=X* +To build run: -With gbs: -Add to the gbs build line: *--define "%target_gles_version X"* + $ make install -j8 ### Building and executing test cases @@ -57,4 +54,3 @@ See the README.md in dali-adaptor/automated-tests. ### DEBUG Builds $ gbs build -A [TARGET_ARCH] --define "%enable_debug 1" -