Skip to content

Conversation

TonyWelte
Copy link

@TonyWelte TonyWelte commented Oct 1, 2025

Description

In Draft until ros2/rosidl#910 is reviewed.

When add_custom_command is used to generate files that are then used by a target, the add_custom_command becomes implicitly dependent on the target dependencies. In rosidl add_custom_command is used to generate files from the IDL files, the generator does not depend on anything else.

This PR (and the equivalent for ros2/rosidl#910, ros2/rosidl_typesupport_fastrtps#136 and ros2/rosidl_typesupport#168) adds the DEPENDS_EXPLICIT_ONLY option of add_custom_command to most generators.

See ros2/rosidl#910 for more details

Is this user-facing behavior change?

Did you use Generative AI?

Additional Information

@TonyWelte TonyWelte force-pushed the bugfix/remove-implicit-dependencies branch 3 times, most recently from 0e80c0d to e093302 Compare October 2, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant