Merge "Renamed empty animation test function" into devel/master
[platform/core/uifw/dali-core.git] / README
1 T.O.C.
2 ======
3
4  1.   GBS Builds
5  1.1. NON-SMACK Targets
6  1.2. SMACK enabled Targets
7  2.   Building for Ubuntu desktop
8  2.1. Minimum Requirements
9  2.2. Creating a DALi Environment
10  2.3. Building the Repository
11  2.4. Building and executing test cases
12
13
14
15 1. GBS Builds
16 =============
17
18 1.1. NON-SMACK Targets
19 ----------------------
20
21  gbs build -A [TARGET_ARCH]
22
23 1.2. SMACK enabled Targets
24 --------------------------
25
26  gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
27
28
29
30 2. Building for Ubuntu desktop
31 ==============================
32
33 2.1. Minimum Requirements
34 ------------------------
35
36  - Ubuntu 14.04
37
38 2.2. Creating a DALi Environment
39 -------------------------------
40
41 To build for desktop first ensure ALL sources are selected:
42  - Go to Ubuntu Settings and then to "Software & Updates"
43  - In the "Ubuntu Software" tab, ensure ALL software sources are ticked
44    (This is required because we install some community-maintained free & open-source software)
45
46 Then you can create a dali-env folder in your home folder with:
47
48  dali-core/build/scripts/dali_env -c
49
50 This will also download any dependencies that the dali repositories require.
51
52 You can save the environment variables to a file:
53
54  dali-env/opt/bin/dali_env -s > setenv
55
56 This process only needs to be done once.
57
58 Next source these variables:
59
60  . setenv
61
62 You will have to source these variables every time you open up a new terminal (or you can add to .bashrc if you prefer).
63
64 2.3. Building the Repository
65 ----------------------------
66
67 To build the repository enter the 'build/tizen' folder:
68
69  cd dali-core/build/tizen
70
71 Then run the following commands:
72
73  autoreconf --install
74  ./configure --prefix=$DESKTOP_PREFIX
75  make install -j8
76
77 2.4. Building and executing test cases
78 --------------------------------------
79
80 See the README.md in dali-core/automated-tests.