Skip to content

Commit 4790bdb

Browse files
author
Javier Moreno
committed
refs #3365
1 parent 7f3931f commit 4790bdb

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
16+
# Set CMake version
17+
cmake_minimum_required(VERSION 3.5)
18+
19+
20+
# Set proyect name
21+
project(micro-ros-agent)
22+
23+
24+
# Find packages depencences
25+
find_package(ament_cmake REQUIRED)
26+
27+
find_package(fastcdr REQUIRED CONFIG)
28+
find_package(fastrtps REQUIRED CONFIG)
29+
find_package(micrortps_agent REQUIRED CONFIG)
30+
31+
#find_package(ament_cmake_python REQUIRED)
32+
33+
34+
# Export dependencies to downstream packages
35+
ament_export_dependencies(fastcdr)
36+
ament_export_dependencies(fastrtps)
37+
ament_export_dependencies(micrortps_agent)
38+
39+
#ament_export_dependencies(rosidl_cmake)
40+
#ament_export_dependencies(rosidl_generator_c)
41+
#ament_export_dependencies(rosidl_generator_dds_idl)
42+
43+
ament_package()

‎package.xml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0"?>
2+
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
3+
<package format="3">
4+
<name>micro-ros-agent</name>
5+
<version>0.0.1</version>
6+
<description>DDS-XCRE agent implementation </description>
7+
<maintainer email="javiermoreno@eprosima.com">Javier Moreno</maintainer>
8+
<license>Apache License 2.0</license>
9+
10+
<buildtool_depend>ament_cmake_ros</buildtool_depend>
11+
<buildtool_depend>rosidl_cmake</buildtool_depend>
12+
13+
<buildtool_export_depend>ament_cmake</buildtool_export_depend>
14+
<buildtool_export_depend>rosidl_cmake</buildtool_export_depend>
15+
16+
<depend>fastcdr</depend>
17+
<depend>fastrtps</depend>
18+
<depend>micrortps_agent</depend>
19+
20+
<export>
21+
<build_type>ament_cmake</build_type>
22+
</export>
23+
</package>

0 commit comments

Comments
 (0)