Wrap external library as catkin package
Hi,
I have a precompiled library that I want to use in multiple catkin packages. Hence, I want to wrap this external library with a catkin package which then can be used in other packages with the XML command <build_depend>wrapper_library</build_depend> and the cmake command find_package(wrapper_library). Can you tell me which commands must be included in the cmakelists file of the wrapper_library such that it easily provides the wrapped library to other packages? Do these other catkin packages need more commands like the target_link_libraries(mypackage wrapper_library)? I don't really know how to start because this use case is not documented in the Ros tutorials, I think... And I am no cmake expert :)
Thanks in advance!
inspire
Do you have the source code?
Do you have the source code? lib.cpp and lib.h files
Yeah and I am able to automatically compile it with a similar catkin wrapper. But this library only compiles with things like autoconf etc installed. Hence, I thought about pre-compiling the library to remove the necessity to have autoconf etc installed. Or do you have another idea?