Use rosdep (#32)
* Add Cyclone DDS build dependencies for rosdep * Update README.md Change apt install commands to rosdep install. * build_depend -> buildtool_depend for maven and java * Add vendor package to build cyclonedds from source Remove maven and java dependency (thanks, @eboasson) * remove --symlink-build flag this obscures the intention of the code and sophisticated users can choose whether to use it or not. * add rosdep to readme
This commit is contained in:
parent
883ef01105
commit
3edf332573
6 changed files with 49 additions and 11 deletions
14
cyclonedds_vendor/CMakeLists.txt
Normal file
14
cyclonedds_vendor/CMakeLists.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
project(cyclonedds_vendor)
|
||||
find_package(ament_cmake REQUIRED)
|
||||
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(cyclonedds
|
||||
GIT_REPOSITORY "https://github.com/eclipse-cyclonedds/cyclonedds.git"
|
||||
CMAKE_ARGS
|
||||
-DBUILD_CONFTOOL:BOOL=OFF
|
||||
-DBUILD_IDLC:BOOL=OFF
|
||||
-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
|
||||
)
|
||||
|
||||
ament_package()
|
15
cyclonedds_vendor/package.xml
Normal file
15
cyclonedds_vendor/package.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
|
||||
<package format="3">
|
||||
<name>cyclonedds_vendor</name>
|
||||
<version>0.4.0</version>
|
||||
<description>Wrapper package for Eclipse CycloneDDS.</description>
|
||||
<maintainer email="erik.boasson@adlinktech.com">Erik Boasson</maintainer>
|
||||
<license>Apache License 2.0</license>
|
||||
|
||||
<buildtool_depend>ament_cmake</buildtool_depend>
|
||||
|
||||
<export>
|
||||
<build_type>ament_cmake</build_type>
|
||||
</export>
|
||||
</package>
|
Loading…
Add table
Add a link
Reference in a new issue