ROS2 C++ package lib

asked 2020-11-17 15:29:50 -0500

jeferrandiz gravatar image

Hello, I am having some problems on creating a C++ pkg to use is as a library. I would like to include its headers in another packages. Can anyone tell me the basic sentences I need to add on the CMAKELISTS.txt file? Thank you

edit retag flag offensive close merge delete


Instead of asking a very general open-ended question, it will probably be most efficient if you go over the ROS2 cmake documentation ( and then refine your question to specific things that are confusing and/or don't work. That will also help show specific points in the docs that should be improved.

jdlangs gravatar image jdlangs  ( 2020-11-17 16:24:12 -0500 )edit