1 ############################################################################
3 # Copyright (C) 2012 Bayerische Motorenwerke Aktiengesellschaft
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 ############################################################################
20 # This is an example toolchain file, please adapt for your needs
21 # To use that file please call
22 # cmake <LayerManager_Source_Dir> -DCMAKE_TOOLCHAIN_FILE=<LayerManager_Source_Dir>/toolchain.cmake
24 set (CMAKE_FIND_ROOT_PATH /home/user/weston)
25 set (CMAKE_INSTALL_PREFIX /home/user/weston)
26 set (FFI_INCLUDE_DIR /usr/lib/libffi-3.0.9/include)
27 set (XKB_INCLUDE_DIR /home/user/weston/include/xkbcommon)
29 ################################################################################
31 # Layer Manager Configuration #
33 ################################################################################
34 set (WITH_X11_GLES OFF CACHE BOOL "" FORCE)
35 set (WITH_GLESv2_LIB ON CACHE BOOL "" FORCE)
36 set (WITH_EGL_EXAMPLE OFF CACHE BOOL "" FORCE)
37 set (WITH_WL_EXAMPLE ON CACHE BOOL "" FORCE)
38 set (WITH_DESKTOP OFF CACHE BOOL "" FORCE)
39 set (WITH_GLX_LIB OFF CACHE BOOL "" FORCE)
40 set (WITH_GLX_EXAMPLE OFF CACHE BOOL "" FORCE)
41 set (WITH_FORCE_COPY OFF CACHE BOOL "" FORCE)
42 set (WITH_XTRHEADS OFF CACHE BOOL "" FORCE)
43 set (WITH_CLIENTEXAMPLES ON CACHE BOOL "" FORCE)
44 set (WITH_TESTS OFF CACHE BOOL "" FORCE)
45 set (WITH_DLT OFF CACHE BOOL "" FORCE)
46 set (WITH_WAYLAND ON CACHE BOOL "" FORCE)
47 set (WITH_WAYLAND_X11 ON CACHE BOOL "" FORCE)
48 set (WITH_WAYLAND_DRM OFF CACHE BOOL "" FORCE)
49 set (WITH_WAYLAND_FBDEV OFF CACHE BOOL "" FORCE)
51 set (WITH_IPC_MODULE_TCP ON CACHE BOOL "" FORCE)
52 set (WITH_IPC_MODULE_DBUS OFF CACHE BOOL "" FORCE)