ilmControl: stricter checking in display_roundtrip_queue()
[profile/ivi/wayland-ivi-extension.git] / CMakeLists.txt
1 ############################################################################
2 #
3 # Copyright 2010-2014 BMW Car IT GmbH
4 # Copyright (C) 2011 DENSO CORPORATION and Robert Bosch Car Multimedia Gmbh
5 #
6 #
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #       http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 #
19 ############################################################################
20
21 cmake_minimum_required (VERSION 2.6)
22 SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
23
24 project(wayland-ivi-extension)
25
26 SET(IVI_EXTENSION_VERSION 1.0.0)
27 SET(ILM_API_VERSION 1.2.0)
28
29 add_subdirectory(protocol)
30
31 add_subdirectory(weston-ivi-shell)
32
33 add_subdirectory(ivi-layermanagement-api/ilmCommon)
34 add_subdirectory(ivi-layermanagement-api/ilmClient)
35 add_subdirectory(ivi-layermanagement-api/ilmControl)
36 add_subdirectory(ivi-layermanagement-api/test)
37 add_subdirectory(ivi-layermanagement-examples)
38
39
40 #=============================================================================================
41 # generate all documents
42 #=============================================================================================
43 add_custom_target(doc
44                   COMMAND echo "====================================="
45                   COMMAND echo "generated documents"
46                   COMMAND echo "    `pwd`/ivi-application-api-${IVI_EXTENSION_VERSION}.pdf"
47                   COMMAND echo "    `pwd`/ivi-controller-api-${IVI_EXTENSION_VERSION}.pdf"
48                   COMMAND echo "    `pwd`/ilm-client-api-${ILM_API_VERSION}.pdf"
49                   COMMAND echo "    `pwd`/ilm-control-api-${ILM_API_VERSION}.pdf"
50                   COMMAND echo "====================================="
51                   DEPENDS ivi-application-doc
52                           ivi-controller-doc
53                           ilm-client-doc
54                           ilm-control-doc
55 )
56