Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow proto2ros_generate() to depend on protobuf_generate() #124

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

mhidalgo-bdai
Copy link
Contributor

Precisely what the title says. Also fixes a race in proto2ros_tests as a result of failing to establish this dependency.

@@ -45,9 +45,7 @@ proto2ros_generate(
CPP_OUT_VAR cpp_sources
INCLUDE_OUT_VAR cpp_include_dir
APPEND_PYTHONPATH "${PROTO_OUT_DIR}"
)
add_dependencies(
${PROJECT_NAME}_messages_gen ${PROJECT_NAME}_proto_gen
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds the dependency to the custom target that is downstream of the actual proto2ros generate command, so it doesn't really work.

@mhidalgo-bdai mhidalgo-bdai merged commit 9d610c9 into main Oct 7, 2024
3 checks passed
@mhidalgo-bdai mhidalgo-bdai deleted the mhidalgo-bdai/proto2ros_generate-deps branch October 7, 2024 17:45
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.

2 participants