Ask Your Question

Revision history [back]

jbohren's answer is good. The wiki also provides some additional examples that show how to set up your CMakeLists.txt for different needs.

Alternatively, you could use the technique shown here to simply make an existing library available to the ROS system. For linking, dependencies, etc. That link suggests this method is deprecated, but I haven't found good documentation on the recommended replacement method.