Add USE_SCOPED_HEADER_INSTALL_DIR option to ament_auto_package#577
Add USE_SCOPED_HEADER_INSTALL_DIR option to ament_auto_package#577sloretz merged 4 commits intoament:humblefrom
USE_SCOPED_HEADER_INSTALL_DIR option to ament_auto_package#577Conversation
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…R_INSTALL_DIR option Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
e51dad4 to
edf9cdb
Compare
sloretz
left a comment
There was a problem hiding this comment.
Thank you for the PR!
If this pull-request is merged, I'll submit the PRs with same content to iron and jazzy branch.
Since Iron is EOL, please only submit a PR for the Jazzy branch.
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
|
Pulls: #577 |
|
@audrow Could you release |
|
I've created a new release for Humble: ros/rosdistro#46674. It will be available from the apt repo after the next sync, which will probably happen around mid-July. |
|
Thank you very much! |
This is a backport of #540 with backward-compatible workaround discussed with @sloretz in #574.
This pull-request adds
USE_SCOPED_HEADER_INSTALL_DIRoption toament_auto_packagefunction.If you set the option, header install destination will switch to
include/${PROJECT_NAME}frominclude.If you do not set the option and your package has include directory,
ament_auto_packagewill install headers to lagacy destination,includedirectory and show warning message like below.With this option, users can switch the behavior of
ament_auto_packageand transition to the new behavior smoothly.If this pull-request is merged, I'll submit the PRs with same content to
ironandjazzybranch.Tests
build testing and install directory checking are performed on GitHub Actions in my repository.
HansRobo/ros2_sandbox#2
There are 2 packages that have include directory.
parent_package: useament_auto_packagewithUSE_SCOPED_HEADER_INSTALL_DIRoptiontimer_experiments: useament_auto_packagewithoutUSE_SCOPED_HEADER_INSTALL_DIRoptionbuild log
expected behavior
parent_package: no warningtimer_experiments: shows implemented warningactual behavior
The build logs have expected behavior.
https://github.com/HansRobo/ros2_sandbox/actions/runs/14345897198/job/40215478181?pr=2#step:8:53
install directory
expected behavior
parent_package: headers are installed toinclude/parent_package/parent_packagetimer_experiments: headers are installed toinclude/timer_experimentsactual behavior
The installed location is as expected.
https://github.com/HansRobo/ros2_sandbox/actions/runs/14345897198/job/40215478181?pr=2#step:9:7