On Fri, May 14, 2010 at 9:11 AM, Daniel Cabrini Hauagge wrote: > Hi All, > > Does anybody know there's an elegant way to link with code from other > packages? Some cmake macro that I can use for that? Just add a package dependency to your manifest.xml, include the exported headers and build. No special cmake macros needed. But, the referenced package must export things properly for that to work. It needs to put headers in appropriate places, build shared libraries (if any) using the cmake rosbuild_add_library() macro, and the cpp cflags and lflags in its manifest.xml. -- joq