Skip to content

Install includes to include/${PROJECT_NAME} and more modern CMake.#61

Merged
sloretz merged 1 commit intoros2from
sloretz__easy_idso_part1
Jan 10, 2022
Merged

Install includes to include/${PROJECT_NAME} and more modern CMake.#61
sloretz merged 1 commit intoros2from
sloretz__easy_idso_part1

Conversation

@sloretz
Copy link
Copy Markdown
Contributor

@sloretz sloretz commented Jan 5, 2022

Part of ros2/ros2#1150

This installs includes to include/${PROJECT_NAME} to mitigate include directory search order issues when overriding packages in desktop.

Part of ament/ament_cmake#365

This removes ament_export_libraries and ament_export_include_directories as they're redundant with the exported CMake targets.

Part of ament/ament_cmake#292

This replaces ament_target_dependencies() calls with target_link_libraries().

Also fixes #58

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Copy link
Copy Markdown
Collaborator

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

This looks reasonable to me with green CI.

@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Jan 10, 2022

CI (repos file build: --packages-above-and-dependencies kdl_parser test: --packages-above kdl_parser)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@sloretz sloretz merged commit 2ed0c91 into ros2 Jan 10, 2022
@sloretz sloretz deleted the sloretz__easy_idso_part1 branch January 10, 2022 19:26
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.

2 participants