Ask Your Question
2

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

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

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
3

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

William gravatar image

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

http://docs.ros.org/api/catkin/html/d...

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

Related:

http://answers.ros.org/question/93266...

edit flag offensive delete link more

Comments

Great, thank you.

Tom Moore gravatar imageTom Moore ( 2014-04-08 10:18:44 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 340 times

Last updated: Apr 08 '14