Meaning of tag <build_export_depend> in Package.xml

asked 2023-02-04 00:57:34 -0500

JohnDoe gravatar image

updated 2023-02-04 01:00:38 -0500

When I tried to learn the meaning of each tag in package.xml, I understood the meaning of <build_depend> and <exec_depend>.

However, after reading the explanation in the ROS Wiki

Build Export Dependencies specify which packages are needed to build libraries against this package. This is the case when you transitively include their headers in public headers in this package (especially when these packages are declared as (CATKIN_)DEPENDS in catkin_package() in CMake).

, I was still confused about the meaning of <build_export_depend>.

Even for some packages, <build_export_depend> is not required.

Can anyone give a more intuitive and easier-to-understand explanation about <build_export_depend>?


edit retag flag offensive close merge delete