Skip to content

Install includes to include/${project_name} and use more modern CMake#191

Merged
gbiggs merged 1 commit intoros2from
sloretz__easy_idso_part1
Jan 13, 2022
Merged

Install includes to include/${project_name} and use more modern CMake#191
gbiggs 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 an ament_target_dependencies() call with target_link_libraries().

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz self-assigned this Jan 5, 2022
@sloretz sloretz marked this pull request as ready for review January 11, 2022 19:06
@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Jan 13, 2022

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

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

@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Jan 13, 2022

All of the test failures are due to cpplint include order, otherwise CI LGTM.

@jacobperron
Copy link
Copy Markdown
Contributor

cpplint errors are addressed on ros2, so I think we can merge this PR.

@gbiggs gbiggs merged commit 0e9a1de into ros2 Jan 13, 2022
@gbiggs gbiggs deleted the sloretz__easy_idso_part1 branch January 13, 2022 23:34
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