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 21cmake_minimum_required (VERSION 2.6) 22SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) 23 24project(wayland-ivi-extension) 25 26include(GNUInstallDirs) 27 28SET(IVI_EXTENSION_VERSION 2.2.0) 29SET(ILM_API_VERSION 2.2.0) 30 31SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter" ) 32SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unused-parameter" ) 33 34add_subdirectory(protocol) 35 36add_subdirectory(weston-ivi-shell) 37 38add_subdirectory(ivi-layermanagement-api/ilmCommon) 39add_subdirectory(ivi-layermanagement-api/ilmClient) 40add_subdirectory(ivi-layermanagement-api/ilmControl) 41add_subdirectory(ivi-layermanagement-api/test) 42add_subdirectory(ivi-layermanagement-examples) 43add_subdirectory(ivi-layermanagement-api/ilmInput) 44add_subdirectory(ivi-input-modules/ivi-input-controller) 45add_subdirectory(ivi-id-agent-modules/ivi-id-agent) 46 47 48#============================================================================================= 49# generate all documents 50#============================================================================================= 51add_custom_target(doc 52 COMMAND echo "=====================================" 53 COMMAND echo "generated documents" 54 COMMAND echo " `pwd`/ivi-application-api-${IVI_EXTENSION_VERSION}.pdf" 55 COMMAND echo " `pwd`/ivi-controller-api-${IVI_EXTENSION_VERSION}.pdf" 56 COMMAND echo " `pwd`/ilm-client-api-${ILM_API_VERSION}.pdf" 57 COMMAND echo " `pwd`/ilm-control-api-${ILM_API_VERSION}.pdf" 58 COMMAND echo "=====================================" 59 DEPENDS ivi-application-doc 60 ivi-controller-doc 61 ilm-client-doc 62 ilm-control-doc 63) 64 65