Delete ament_export_include_directories() and ament_export_libraries() calls

Open Beginner friendly
#431 1 comment 0 reactions 1 assignee View on GitHub

@EkenoSamson is already working on this.

Since Sep 25, 2026.

  • #434 by @EkenoSamson — closed without merging

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
cmake
Domain
build-system

Research direction

The issue specifies two CMakeLists.txt files: rmw/CMakeLists.txt and rmw_security_common/CMakeLists.txt. Start by locating these files in the repository. Look for calls to ament_export_include_directories() and ament_export_libraries() and delete them, ensuring ament_export_targets() remains. Verify the changes by building the package or checking CMake configuration.

Written by the indexing model from the issue text.

Description

good first issue

We use ament_export_targets() to export modern CMake targets. Downstream packages should use these modern CMake targets instead of old CMake variables. Because the packages below already call ament_export_targets(), we can delete the ament_export_include_directories() and ament_export_libraries() calls.

Modify the following files and delete the ament_export_include_directories() and ament_export_libraries() calls:

  • rmw/CMakeLists.txt
  • rmw_security_common/CMakeLists.txt
Dominant language
C
Stars
121
Forks
89
Avg merge
17h 40m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ros2/rmw

All issues in ros2/rmw

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.