diff options
Diffstat (limited to 'examples/routingmanagerd/CMakeLists.txt')
-rw-r--r-- | examples/routingmanagerd/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/routingmanagerd/CMakeLists.txt b/examples/routingmanagerd/CMakeLists.txt new file mode 100644 index 0000000..d15949a --- /dev/null +++ b/examples/routingmanagerd/CMakeLists.txt @@ -0,0 +1,24 @@ +# Copyright (C) 2015-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +cmake_minimum_required (VERSION 2.8) + +# Daemon +add_executable(routingmanagerd routingmanagerd.cpp) +target_link_libraries(routingmanagerd ${VSOMEIP_NAME} ${Boost_LIBRARIES} ${DL_LIBRARY} ${DLT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +add_dependencies(routingmanagerd ${VSOMEIP_NAME}) + +option(VSOMEIP_INSTALL_ROUTINGMANAGERD "Whether or not to install the routing manager daemon.") + +if (VSOMEIP_INSTALL_ROUTINGMANAGERD) + install ( + TARGETS routingmanagerd + RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT bin + ) +endif() + + + +################################################################################################### |