summaryrefslogtreecommitdiff
path: root/ivi-layermanagement-api/ilmClient
diff options
context:
space:
mode:
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>2013-11-27 10:51:14 +0900
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>2013-11-27 11:41:48 +0900
commit725c725e14b2da11d1e0bdfb822f73d8c2c2e9a3 (patch)
tree653361e0f7539b7bd575e960c3965b89b0e762bd /ivi-layermanagement-api/ilmClient
parenta018acfb7deb4d0975781c3c5492ba30fe5cfa58 (diff)
downloadwayland-ivi-extension-725c725e14b2da11d1e0bdfb822f73d8c2c2e9a3.tar.gz
ivi-layermanagement-api: Set-up to build ivi layer management APIs
Setting files for cmake and related headers and source of ivi-extension protocols for wayland client. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Diffstat (limited to 'ivi-layermanagement-api/ilmClient')
-rw-r--r--ivi-layermanagement-api/ilmClient/CMakeLists.txt66
1 files changed, 66 insertions, 0 deletions
diff --git a/ivi-layermanagement-api/ilmClient/CMakeLists.txt b/ivi-layermanagement-api/ilmClient/CMakeLists.txt
new file mode 100644
index 0000000..d9bbb51
--- /dev/null
+++ b/ivi-layermanagement-api/ilmClient/CMakeLists.txt
@@ -0,0 +1,66 @@
+############################################################################
+#
+# Copyright 2010-2012 BMW Car IT GmbH
+# Copyright (C) 2013 DENSO CORPORATION
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+############################################################################
+
+cmake_minimum_required (VERSION 2.6)
+
+project(ilmClient)
+project_type(CORE)
+
+find_package(Threads)
+find_package(Wayland REQUIRED)
+
+include_directories(
+ "include"
+ "${CMAKE_SOURCE_DIR}/config"
+ "${CMAKE_SOURCE_DIR}/ivi-layermanagement-api/ilmCommon/include"
+ "${CMAKE_SOURCE_DIR}/ivi-layermanagement-api/ilmClient/include"
+ ${WAYLAND_CLIENT_INCLUDE_DIR}
+)
+
+add_library(${PROJECT_NAME} SHARED
+ src/ilm_client.c
+ src/ilm_client_wayland_platform.c
+ ../ilmCommon/src/ivi-application-protocol.c
+)
+
+add_dependencies(${PROJECT_NAME}
+ ilmCommon
+ ${WAYLAND_CLIENT_LIBRARIES}
+)
+
+set(LIBS
+ ${LIBS}
+ ilmCommon
+ rt
+ dl
+ ${CMAKE_THREAD_LIBS_INIT}
+ ${WAYLAND_CLIENT_LIBRARIES}
+)
+
+target_link_libraries(${PROJECT_NAME} ${LIBS})
+
+install (
+ TARGETS ${PROJECT_NAME}
+ LIBRARY DESTINATION lib
+)
+
+install (
+ FILES ${CMAKE_SOURCE_DIR}/ivi-layermanagement-api/ilmClient/include/ilm_client.h
+ DESTINATION include/ilm
+)