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
11 4. Installing Emscripten examples
17 1.1. NON-SMACK Targets
18 ----------------------
20 gbs build -A [TARGET_ARCH]
22 1.2. SMACK enabled Targets
23 --------------------------
25 gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
29 2. Building for Ubuntu desktop
30 ==============================
32 2.1. Minimum Requirements
33 ------------------------
36 - Environment created using dali_env script in dali-core repository
38 2.2. Building the Repository
39 ----------------------------
41 To build the repository enter the 'build/tizen' folder:
43 cd dali-demo/build/tizen
45 Then run the following commands:
47 cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
52 3. Creating an example
53 ======================
55 - Make a directory in the "examples" directory. Only one example will be created per directory.
56 - The executable installed will have a ".example" appended to it, e.g. a "blocks" directory produces "blocks.example".
57 - Add all source files for the required example in this directory.
58 - Modify "com.samsung.dali-demo.xml" to include your example so that it can be launched on target.
59 - No changes are required to the make system as long as the above is followed, your example will be automatically built & installed.
62 4. Installing Emscripten Examples
63 =================================
65 Some Emscripten Javascript examples are included in dali-demo.
67 They do not require building, to install them run the provided install script.
68 Note: Your dali-env must be setup as it will install to your dali-env/opt/share/emscripten directory.
70 # cd ./emscripten-examples
73 Run the examples by either opening them in a browser, or, running the browser from the command line with an example as a parameter.