• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Sections in this file describe:
2- How to build
3- Example applications
4- How to test
5
6How to build on different platforms
7====================================
8
9Pre-requisite:
10- Weston
11- CMake required (version 2.6 or higher)
12- Open GLES and EGL for example applications
13- Gtest for the test suite
14
15Build up
161. Pull the current codebase form the git repo
17   E.g. git clone https://github.com/GENIVI/wayland-ivi-extension.git
18
192. Create a build directory
20   E.g mkdir build_ivi_extension
21
223. In <build-dir> Generate build system for your platform using CMake.
23   E.g. cd <build-dir>
24        cmake -DCMAKE_TOOLCHAIN_FILE=<your setting *.cmake> ../
25
264. Start the build and install
27
28   E.g. sudo make install
29
30Example applications
31====================================
32
33Pre-requisite:
34- Modify weston.ini to use ivi-shell.so
35  Example:
36    [core]
37    shell=ivi-shell.so
38    modules=ivi-controller.so
39
40    [ivi-shell]
41    ivi-input-module=ivi-input-controller.so
42
43- Set Environmental values
44  Example:
45    export XDG_RUNTIME_DIR=/var/run/<your user name>/1000
46    export LD_LIBRARY_PATH=<your installation path>/lib
47
48Start-up Weston:
49   Example: <your installation path>/bin/weston
50
51Start-up HMI helper:
52   Example: <your installation path>/bin/layer-add-surfaces 1000 1
53
54EGLWLMockNavigation:
55   Example: <your installation path>/bin/EGLWLMockNavigation
56
57How to test
58====================================
591. Build the testsuite by setting BUILD_ILM_API_TESTS option.
60   Example: cmake -DBUILD_ILM_API_TESTS
612. After starting up Weston run the testsuite.
62   Example: <your installation path>/bin/ivi-layermanagement-api-test
63