ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to export header and library build flags for non-catkin projects?

asked 2014-04-08 09:12:56 -0500

Tom Moore gravatar image

For some of our in-house ROS nodes, I want to link against some of our proprietary headers and libraries, none of which are built using catkin or cmake. What I would like to do is create a ROS package that acts as a wrapper, so that all my other ROS packages can just list the wrapper package as a dependency, and all the include and library C++ flags that point to our proprietary software are automatically included. What's the most efficient way to do that?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-08 10:14:02 -0500

William gravatar image

The easiest way to provide custom CMake logic with a catkin package is using an extras file:

This allows you to specify a cmake file for catkin to include(...) anytime that package is find_package'ed.


edit flag offensive delete link more


Great, thank you.

Tom Moore gravatar image Tom Moore  ( 2014-04-08 10:18:44 -0500 )edit

Question Tools

1 follower


Asked: 2014-04-08 09:12:56 -0500

Seen: 585 times

Last updated: Apr 08 '14