Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Going over ament_export_targets() API documentation and code may shed some light here. Most of the work is actually done by its hook. You can see that you may associate as many targets to an export as you like, and install as many exports as you like. All will fall under the same package-wide namespace, to be picked up by the extras file specific to this part of ament_cmake.

If this seems unclear, consider revisiting CMake's target exportation/importation semantics.