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 generated IDL files #17

Merged
merged 4 commits into from
Nov 9, 2018
Merged

Allow generated IDL files #17

merged 4 commits into from
Nov 9, 2018

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Oct 31, 2018

The target dependency won't exist at cmake configure time before the first build if it is generated. Since the custom command is in a subdirectory it cannot depend on the generated files directly. Instead it depends on a target from the parent directory which depends on the IDL files.

connects to ros2/rcl_interfaces#47

Since the custom command is in a subdirectory it cannot depend on the
generated files directly. Instead it depends on a target from the parent
directory which depends on the IDL files.
@sloretz sloretz added the in progress Actively being worked on (Kanban column) label Oct 31, 2018
@sloretz sloretz self-assigned this Oct 31, 2018
@jacobperron
Copy link
Member

Needs a rebase on master.

Since the custom command is in a subdirectory it cannot depend on the
generated files directly. Instead it depends on a target from the parent
directory which depends on the IDL files.
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM! Though I think it'd be good for our future selves to add a comment with an explanation for the rationale behind this change.

@sloretz
Copy link
Contributor Author

sloretz commented Nov 9, 2018

@hidmic Added comment in 1bf0146

@sloretz sloretz merged commit 189b16a into master Nov 9, 2018
@sloretz sloretz deleted the sloretz/allow_generated_idl branch November 9, 2018 22:06
@sloretz sloretz removed the in progress Actively being worked on (Kanban column) label Nov 9, 2018
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.

None yet

3 participants