6 1.2. SMACK enabled Targets
7 2. Building for Ubuntu desktop
8 2.1. Minimum Requirements
9 2.2. Building the Repository
10 3. Creating an example
16 1.1. NON-SMACK Targets
17 ----------------------
19 gbs build -A [TARGET_ARCH]
21 1.2. SMACK enabled Targets
22 --------------------------
24 gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
28 2. Building for Ubuntu desktop
29 ==============================
31 2.1. Minimum Requirements
32 ------------------------
35 - Environment created using dali_env script in dali-core repository
37 2.2. Building the Repository
38 ----------------------------
40 To build the repository enter the 'build/tizen' folder:
42 cd dali-toolkit/build/tizen
44 Then run the following commands:
46 cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
51 3. Creating an example
52 ======================
54 - Make a directory in the "examples" directory. Only one example will be created per directory.
55 - The executable installed will have a ".example" appended to it, e.g. a "blocks" directory produces "blocks.example".
56 - Add all source files for the required example in this directory.
57 - Modify "com.samsung.dali-demo.xml" to include your example so that it can be launched on target.
58 - No changes are required to the make system as long as the above is followed, your example will be automatically built & installed.