rclcpp/rmw_implementation/cmake/get_available_rmw_implementations.cmake
2015-03-04 16:32:51 -08:00

10 lines
371 B
CMake

#
# 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_rmw_implementations var)
ament_index_get_resources(middleware_implementations "rmw_implementation")
set(${var} ${middleware_implementations} PARENT_SCOPE)
endfunction()