-
Notifications
You must be signed in to change notification settings - Fork 25
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
don't generate IDL files and remove unused code #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Merging this as it doesnt look like it's used and has been approved. |
get_filename_component(_name "${_idl_file}" NAME_WE) | ||
set(_abs_idl_file "${${_pkg_name}_DIR}/../${_parent_folder}/dds_fastrtps/${_name}_.idl") | ||
normalize_path(_abs_idl_file "${_abs_idl_file}") | ||
list(APPEND _dependency_files "${_abs_idl_file}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The removal of this line change breaks the automatic regeneration of the FastRTPS typesupport files when a dependent message file is changed. A following build doesn't re-build the generated code which leaves the library with outdated content.
There is another bug in the CMake which also doesn't re-expand the templates when message files in the processed package fail. I am not sure if that was working before this patch though.
This PR removes what I think is a leftover from copying an existing typesupport that rely on the generation of IDL files and invocation of third party generators.
@MiguelCompany Would you mind having a look and letting us know if this code is necessary ?
First attempt at CI: