1 <img src="https://dalihub.github.io/images/DaliLogo320x200.png">
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)
17 ## 1. Building for Ubuntu desktop
21 - Ubuntu 14.04 or later
22 - Environment created using dali_env script in dali-core repository
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).
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.
31 ### Building the Repository
33 To build the repository enter the 'build/tizen' folder:
35 $ cd dali-toolkit/build/tizen
37 Then run the following command to set up the build:
39 $ cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
41 If a Debug build is required, then add -DCMAKE_BUILD_TYPE=Debug
47 ### Building and executing test cases
49 See the README.md in dali-toolkit/automated-tests.
55 $ gbs build -A [TARGET_ARCH]
57 ### SMACK enabled Targets
59 $ gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
63 $ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"