0c224f81e6a92b48269765d31912ab9567368751
[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
12
13
14 1. GBS Builds
15 =============
16
17 1.1. NON-SMACK Targets
18 ----------------------
19
20  gbs build -A [TARGET_ARCH]
21
22 1.2. SMACK enabled Targets
23 --------------------------
24
25  gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
26
27
28
29 2. Building for Ubuntu desktop
30 ==============================
31
32 2.1. Minimum Requirements
33 ------------------------
34
35  - Ubuntu 14.04
36
37 2.2. Creating a DALi Environment
38 -------------------------------
39
40 To build for desktop first create a dali-env folder in your home folder with:
41
42  dali-core/build/dali_env -c
43
44 This will also download any dependencies that the dali repositories require.
45
46 You can save the environment variables to a file:
47
48  dali-env/opt/bin/dali_env -s > setenv
49
50 This process only needs to be done once.
51
52 Next source these variables:
53
54  . setenv
55
56 You will have to source these variables every time you open up a new terminal (or you can add to .bashrc if you prefer).
57
58 2.3. Building the Repository
59 ----------------------------
60
61 To build the repository enter the 'build/tizen' folder:
62
63  cd dali-core/build/tizen
64
65 Then run the following commands:
66
67  autoreconf --install
68  ./configure --prefix=$DESKTOP_PREFIX
69  make install -j8
70