I want to know about ROS 2 build process detailed.
Hi it's newbie for ROS2. I want to know about build process in ROS 2. I only know how .c file built by (compilers, assembler, link...) So I want to know in detail how cmake and xml file are involved in the build. Does CMakeList.txt refer to package.xml and help gcc compiler?
Asked by menguiin on 2021-04-30 22:51:25 UTC
Answers
I'd recommend reading through:
- for general design info on ROS2's build tools: https://design.ros2.org/articles/build_tool.html
- for a quick summary/guide to using the build tools: https://docs.ros.org/en/foxy/Tutorials/Colcon-Tutorial.html
- for details on
colcon
: https://colcon.readthedocs.io/en/released/ - for details on
package.xml
: https://www.ros.org/reps/rep-0149.html
For your last question, please look at #217475 where @gvdhoorn gives a good comparison between package.xml
and CMakeLists.txt
.
Asked by shonigmann on 2021-05-03 12:31:16 UTC
Comments