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 ############################################################################
19 # This is an example toolchain file, please adapt for your needs
20 # To use that file please call
21 # cmake <LayerManager_Source_Dir> -DCMAKE_TOOLCHAIN_FILE=<LayerManager_Source_Dir>/toolchain.cmake
23 # Disable all GLX Examples
24 set (WITH_GLX_EXAMPLE OFF CACHE STRING "" FORCE)
26 # Enable all EGL X11 Examples like EGLX11ApplicationExample EGLX11MockNavigation
27 set (WITH_EGL_EXAMPLE ON CACHE STRING "" FORCE)
29 # Disable all Wayland Examples like EGLWLApplicationExample EGLWLMockNavigation
30 set (WITH_WL_EXAMPLE OFF CACHE STRING "" FORCE)
32 # Enable EGL/GLES 2.0 X11 Renderer / Compositor Plug In
33 set (WITH_X11_GLES ON CACHE STRING "" FORCE)
35 # Disable EGL/GLES 2.0 Wayland Renderer / Compositor Plug In
36 set (WITH_WAYLAND OFF CACHE STRING "" FORCE)
38 # Disable EGL/GLES 2.0 Wayland Renderer / Compositor Plug In X11
39 set (WITH_WAYLAND_X11 OFF CACHE STRING "" FORCE)
41 # Disable EGL/GLES 2.0 Wayland Renderer / Compositor Plug In FBDEV
42 set (WITH_WAYLAND_FBDEV OFF CACHE STRING "" FORCE)
44 # Disable all OpenGL 1.1 X11 Renderer / Compositor Plug In
45 set (WITH_DESKTOP OFF CACHE STRING "" FORCE)
47 # Disable copy of offscreen buffer into texturespace use zero copy - Driver Support needed !
48 set (WITH_FORCE_COPY OFF CACHE STRING "" FORCE)
50 # Disable compilation of unit test
51 set (WITH_TESTS OFF CACHE STRING "" FORCE)
53 # Enable XThreads to post signals over different threads - switching polling to push notification
54 set (WITH_XTRHEADS ON CACHE STRING "" FORCE)
57 set (WITH_DLT OFF CACHE STRING "" FORCE)