DALi Version 1.4.22
[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 ### Requirements
19
20  - Ubuntu 14.04 or later
21  - Environment created using dali_env script in dali-core repository
22  - GCC version 6
23
24 DALi requires a compiler supporting C++11 features.
25 Ubuntu 16.04 is the first version to offer this by default (GCC v5.4.0).
26
27 GCC version 6 is recommended since it has fixes for issues in version 5
28 e.g. it avoids spurious 'defined but not used' warnings in header files.
29
30 ### Building the Repository
31
32 To build the repository enter the 'build/tizen' folder:
33
34          $ cd dali-adaptor/build/tizen
35
36 Then run the following commands:
37
38          $ autoreconf --install
39          $ ./configure --prefix=$DESKTOP_PREFIX
40          $ make install -j8
41
42 ### Building and executing test cases
43
44 See the README.md in dali-adaptor/automated-tests.
45
46 ## 2. GBS Builds
47
48          $ gbs build -A [TARGET_ARCH]
49
50 ### DEBUG Builds
51
52          $ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"
53