Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Delete ament_export_include_directories() and ament_export_libraries() calls

Open Beginner friendly
#232 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
80/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
cmake, cpp
Domain
build-system

Research direction

The issue points to the CMakeLists.txt file. Look for calls to ament_export_include_directories() and ament_export_libraries() in that file and delete them, ensuring ament_export_targets() is already present. Verify the changes by building the package to confirm no regressions.

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:

  • CMakeLists.txt
Dominant language
C++
Stars
37
Forks
59
Avg merge
21h 9m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

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/rcpputils

All issues in ros2/rcpputils

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.