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. Build target options
12 2.5. Building and executing test cases
19 1.1. NON-SMACK Targets
20 ----------------------
22 gbs build -A [TARGET_ARCH]
24 1.2. SMACK enabled Targets
25 --------------------------
27 gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
31 2. Building for Ubuntu desktop
32 ==============================
34 2.1. Minimum Requirements
35 ------------------------
39 2.2. Creating a DALi Environment
40 -------------------------------
42 To build for desktop first ensure ALL sources are selected:
43 - Go to Ubuntu Settings and then to "Software & Updates"
44 - In the "Ubuntu Software" tab, ensure ALL software sources are ticked
45 (This is required because we install some community-maintained free & open-source software)
47 Then you can create a dali-env folder in your home folder with:
49 dali-core/build/scripts/dali_env -c
51 This will also download any dependencies that the dali repositories require.
53 You can save the environment variables to a file:
55 dali-env/opt/bin/dali_env -s > setenv
57 This process only needs to be done once.
59 Next source these variables:
63 You will have to source these variables every time you open up a new terminal (or you can add to .bashrc if you prefer).
65 2.3. Building the Repository
66 ----------------------------
68 To build the repository enter the 'build/tizen' folder:
70 cd dali-core/build/tizen
72 Then run the following commands:
75 ./configure --prefix=$DESKTOP_PREFIX
78 2.4. Build target options
79 -------------------------
83 When building, the OpenGL ES version of the target should be specified.
85 Valid version options are 20, 30, 31
91 Add to the gbs build line: --define "%target_gles_version X"
94 2.5. Building and executing test cases
95 --------------------------------------
97 See the README.md in dali-core/automated-tests.