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

Add option to rosidl_generate_interfaces to skip dependency export. #708

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions rosidl_cmake/cmake/rosidl_generate_interfaces.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
# :type LIBRARY_NAME: string
# :param SKIP_INSTALL: if set skip installing the interface files
# :type SKIP_INSTALL: option
# :param SKIP_GROUP_MEMBERSHIP_CHECK: if set, skip enforcing the appartenance
# to the rosidl_interface_packages group
# :param SKIP_GROUP_MEMBERSHIP_CHECK: if set, skip enforcing membership in the
# rosidl_interface_packages group
# :type SKIP_GROUP_MEMBERSHIP_CHECK: option
# :param ADD_LINTER_TESTS: if set lint the interface files using
# the ``ament_lint`` package
Expand All @@ -66,7 +66,9 @@ macro(rosidl_generate_interfaces target)
endif()

_rosidl_cmake_register_package_hook()
ament_export_dependencies(${_ARG_DEPENDENCIES})
if(NOT _ARG_SKIP_INSTALL)
ament_export_dependencies(${_ARG_DEPENDENCIES})
endif()

# check that passed interface files exist
# a tuple with an absolute base and a relative path is returned as is
Expand Down