extract decision of used middleware implementation into separate package

This commit is contained in:
Dirk Thomas 2014-08-14 15:05:25 -07:00
parent 0559fafcd0
commit 45ee2dd2e1
7 changed files with 90 additions and 39 deletions

View file

@ -0,0 +1,10 @@
#
# Get the package names of the available ROS middleware implemenations.
#
# :param var: the output variable name containing the package names
# :type var: list of strings
#
function(get_available_ros_middleware_implementations var)
ament_index_get_resources(middleware_implementations "ros_middleware_implementation")
set(${var} ${middleware_implementations} PARENT_SCOPE)
endfunction()