Merge "[4.0] DALi version 1.2.90" into tizen_4.0
[platform/core/uifw/dali-adaptor.git] / README.md
1 <img src="https://dalihub.github.io/images/DaliLogo320x200.png">
2
3 # Table of Contents
4
5    * [Build Instructions](#build-instructions)
6       * [1. Building for Ubuntu desktop](#1-building-for-ubuntu-desktop)
7          * [Minimum Requirements](#minimum-requirements)
8          * [Building the Repository](#building-the-repository)
9          * [Build target options](#build-target-options)
10          * [Building and executing test cases](#building-and-executing-test-cases)
11       * [2. GBS Builds](#2-gbs-builds)
12          * [DEBUG Builds](#debug-builds)
13
14 # Build Instructions
15
16 ## 1. Building for Ubuntu desktop
17
18 ### Minimum Requirements
19
20  - Ubuntu 14.04 or later
21  - Environment created using dali_env script in dali-core repository
22
23 ### Building the Repository
24
25 To build the repository enter the 'build/tizen' folder:
26
27          $ cd dali-adaptor/build/tizen
28
29 Then run the following commands:
30
31          $ autoreconf --install
32          $ ./configure --prefix=$DESKTOP_PREFIX
33          $ make install -j8
34
35 ### Build target options
36
37 OpenGL ES context:
38
39 When building, the OpenGL ES version of the target should be specified.
40
41 Valid version options are 20, 30, 31 for OpenGL ES versions 2.0, 3.0 and 3.1 respectively.
42
43 With configure:
44 Add: *--enable-gles=X*
45
46 With gbs:
47 Add to the gbs build line: *--define "%target_gles_version X"*
48
49 ### Building and executing test cases
50
51 See the README.md in dali-adaptor/automated-tests.
52
53 ## 2. GBS Builds
54
55          $ gbs build -A [TARGET_ARCH]
56
57 ### DEBUG Builds
58
59          $ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"
60