From 4790bdbdea043f042430f3194bf6b0b611fb97a0 Mon Sep 17 00:00:00 2001 From: Javier Moreno Date: Tue, 11 Sep 2018 16:24:38 +0200 Subject: [PATCH] refs #3365 --- CMakeLists.txt | 43 +++++++++++++++++++++++++++++++++++++++++++ package.xml | 23 +++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 package.xml diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..b5a44f4 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,43 @@ +# Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima). +# +# 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. + + +# Set CMake version +cmake_minimum_required(VERSION 3.5) + + +# Set proyect name +project(micro-ros-agent) + + +# Find packages depencences +find_package(ament_cmake REQUIRED) + +find_package(fastcdr REQUIRED CONFIG) +find_package(fastrtps REQUIRED CONFIG) +find_package(micrortps_agent REQUIRED CONFIG) + +#find_package(ament_cmake_python REQUIRED) + + +# Export dependencies to downstream packages +ament_export_dependencies(fastcdr) +ament_export_dependencies(fastrtps) +ament_export_dependencies(micrortps_agent) + +#ament_export_dependencies(rosidl_cmake) +#ament_export_dependencies(rosidl_generator_c) +#ament_export_dependencies(rosidl_generator_dds_idl) + +ament_package() \ No newline at end of file diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..c5fc1f3 --- /dev/null +++ b/package.xml @@ -0,0 +1,23 @@ + + + + micro-ros-agent + 0.0.1 + DDS-XCRE agent implementation + Javier Moreno + Apache License 2.0 + + ament_cmake_ros + rosidl_cmake + + ament_cmake + rosidl_cmake + + fastcdr + fastrtps + micrortps_agent + + + ament_cmake + +