[dali_1.4.7] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.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          * [Building and executing test cases](#building-and-executing-test-cases)
10       * [2. GBS Builds](#2-gbs-builds)
11          * [NON-SMACK Targets](#non-smack-targets)
12          * [SMACK enabled Targets](#smack-enabled-targets)
13          * [DEBUG Builds](#debug-builds)
14
15 # Build Instructions
16
17 ## 1. Building for Ubuntu desktop
18
19 ### Requirements
20
21  - Ubuntu 14.04 or later
22  - Environment created using dali_env script in dali-core repository
23  - GCC version 6
24
25 DALi requires a compiler supporting C++11 features.
26 Ubuntu 16.04 is the first version to offer this by default (GCC v5.4.0).
27
28 GCC version 6 is recommended since it has fixes for issues in version 5
29 e.g. it avoids spurious 'defined but not used' warnings in header files.
30
31 ### Building the Repository
32
33 To build the repository enter the 'build/tizen' folder:
34
35          $ cd dali-toolkit/build/tizen
36
37 Then run the following commands:
38
39          $ autoreconf --install
40          $ ./configure --prefix=$DESKTOP_PREFIX
41          $ make install -j8
42
43 ### Building and executing test cases
44
45 See the README.md in dali-toolkit/automated-tests.
46
47 ## 2. GBS Builds
48
49 ### NON-SMACK Targets
50
51          $ gbs build -A [TARGET_ARCH]
52
53 ### SMACK enabled Targets
54
55          $ gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
56
57 ### DEBUG Builds
58
59          $ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"