1# Copyright (C) 2015-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
2# This Source Code Form is subject to the terms of the Mozilla Public
3# License, v. 2.0. If a copy of the MPL was not distributed with this
4# file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
6cmake_minimum_required (VERSION 2.8...3.23.2)
7
8# Daemon
9add_executable(routingmanagerd routingmanagerd.cpp)
10target_link_libraries(routingmanagerd ${VSOMEIP_NAME} ${Boost_LIBRARIES} ${DL_LIBRARY} ${DLT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
11add_dependencies(routingmanagerd ${VSOMEIP_NAME})
12
13option(VSOMEIP_INSTALL_ROUTINGMANAGERD "Whether or not to install the routing manager daemon.")
14
15if (VSOMEIP_INSTALL_ROUTINGMANAGERD)
16    install (
17        TARGETS routingmanagerd
18        RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT bin
19    )
20endif()
21
22
23
24###################################################################################################
25