packaging: bump version to 0.2.5 and require weston-ivi-shell 0.1.9
[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 SET(LIB_INSTALL_DIR lib${LIB_SUFFIX})
30
31 add_subdirectory(protocol)
32
33 add_subdirectory(weston-ivi-shell)
34
35 add_subdirectory(ivi-layermanagement-api/ilmCommon)
36 add_subdirectory(ivi-layermanagement-api/ilmClient)
37 add_subdirectory(ivi-layermanagement-api/ilmControl)
38 add_subdirectory(ivi-layermanagement-api/test)
39 add_subdirectory(ivi-layermanagement-examples)
40
41
42 #=============================================================================================
43 # generate all documents
44 #=============================================================================================
45 add_custom_target(doc
46                   COMMAND echo "====================================="
47                   COMMAND echo "generated documents"
48                   COMMAND echo "    `pwd`/ivi-application-api-${IVI_EXTENSION_VERSION}.pdf"
49                   COMMAND echo "    `pwd`/ivi-controller-api-${IVI_EXTENSION_VERSION}.pdf"
50                   COMMAND echo "    `pwd`/ilm-client-api-${ILM_API_VERSION}.pdf"
51                   COMMAND echo "    `pwd`/ilm-control-api-${ILM_API_VERSION}.pdf"
52                   COMMAND echo "====================================="
53                   DEPENDS ivi-application-doc
54                           ivi-controller-doc
55                           ilm-client-doc
56                           ilm-control-doc
57 )
58