Skip to content

Allow generated IDL files - #17

Merged
sloretz merged 4 commits into
masterfrom
sloretz/allow_generated_idl
Nov 9, 2018
Merged

sloretz merged 4 commits into
masterfrom
sloretz/allow_generated_idl

Conversation

@sloretz

@sloretz sloretz commented Oct 31, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.
@sservulo
sservulo force-pushed the sloretz/allow_generated_idl branch from b23bc68 to 47e369b Compare November 7, 2018 21:31

@hidmic hidmic left a comment

Copy link
Copy Markdown
Contributor

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
sloretz requested a review from jacobperron November 9, 2018 21:07
@sloretz

sloretz commented Nov 9, 2018

Copy link
Copy Markdown
Contributor Author

@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.

3 participants