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
18 1.1. NON-SMACK Targets
19 ----------------------
21 gbs build -A [TARGET_ARCH]
23 1.2. SMACK enabled Targets
24 --------------------------
26 gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
30 2. Building for Ubuntu desktop
31 ==============================
33 2.1. Minimum Requirements
34 ------------------------
38 2.2. Creating a DALi Environment
39 -------------------------------
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)
46 Then you can create a dali-env folder in your home folder with:
48 dali-core/build/scripts/dali_env -c
50 This will also download any dependencies that the dali repositories require.
52 You can save the environment variables to a file:
54 dali-env/opt/bin/dali_env -s > setenv
56 This process only needs to be done once.
58 Next source these variables:
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).
64 2.3. Building the Repository
65 ----------------------------
67 To build the repository enter the 'build/tizen' folder:
69 cd dali-core/build/tizen
71 Then run the following commands:
74 ./configure --prefix=$DESKTOP_PREFIX
77 2.4. Building and executing test cases
78 --------------------------------------
80 See the README.md in dali-core/automated-tests.