This package is currently hard-coding the include directories for the generator packages it depends on. This makes it use rosidl_get_typesupport_target() insteadl. I also made it use target_link_libraries instead of ament_target_dependencies.
I think this depends on ros2/rosidl_typesupport#123, but I don't remember why (Edit: I think it needs that cleanup PR to get the dependency on rosidl_generator_c transitively from rosidl_generator_cpp instead of hard coding both)
@hidmic I've added you as a reviewer, but this one seems to depend on ros2/rosidl_typesupport#123 which depends on ros2/rosidl#662, so I've left it as a draft for now.
This package is currently hard-coding the include directories for the generator packages it depends on. This makes it use
rosidl_get_typesupport_target()
insteadl. I also made it usetarget_link_libraries
instead ofament_target_dependencies
.I think this depends on ros2/rosidl_typesupport#123, but I don't remember why (Edit: I think it needs that cleanup PR to get the dependency on rosidl_generator_c transitively from rosidl_generator_cpp instead of hard coding both)