rmw_cyclonedds/cyclonedds_vendor/CMakeLists.txt
Dan Rose 3edf332573 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
2019-09-13 11:54:06 +02:00

14 lines
No EOL
364 B
CMake

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()