1 Sections in this file describe:
5 How to build on different platforms
6 ====================================
9 - Weston works with any shell downloaded from the following URL
10 http://cgit.freedesktop.org/wayland/weston/
11 - CMake required (version 2.6 or higher)
14 1. Pull the current codebase form the git repo
15 E.g. git clone http://git.projects.genivi.org/wayland-ivi-extension.git
17 2. Create a build directory
18 E.g mkdir build_ivi_extension
20 3. In <build-dir> Generate build system for your platform using CMake.
22 cmake -DCMAKE_TOOLCHAIN_FILE=<your setting *.cmake> ../
26 add_definitions ("-g -O3")
27 set (CMAKE_FIND_ROOT_PATH <your root path>)
28 set (CMAKE_INSTALL_PREFIX <your installation path>)
29 set (FFI_INCLUDE_DIR /usr/lib/libffi-3.0.10/include)
30 set (XKB_INCLUDE_DIR <your installation path>/include/xkbcommon)
31 set (CAIRO_INCLUDE_DIR <your installation path>/include/cairo)
33 4. Start the build and install
35 E.g. sudo make install
38 ====================================
41 - Modify weston.ini to use ivi-shell.so
44 - Set Environmental values
46 export XDG_RUNTIME_DIR=/var/run/<your user name>/1000
47 export LD_LIBRARY_PATH=<your installation path>/lib
50 Example: <your installation path>/bin/weston
53 Example: <your installation path>/bin/EGLWLMockNavigation