rclcpp/rmw_implementation/cmake/get_available_rmw_implementations.cmake

11 lines
371 B
CMake
Raw Normal View History

#
# 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
#
2015-03-04 16:31:22 -08:00
function(get_available_rmw_implementations var)
ament_index_get_resources(middleware_implementations "rmw_implementation")
set(${var} ${middleware_implementations} PARENT_SCOPE)
endfunction()