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
#3,285 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

The issue lists four specific CMakeLists.txt files in the repository. Open each file, locate the calls to ament_export_include_directories() and ament_export_libraries(), and delete them. Verify the package still builds by running the project's CMake build process. The change is purely mechanical and the exact lines to remove are identified.

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:

  • rclcpp/CMakeLists.txt
  • rclcpp_action/CMakeLists.txt
  • rclcpp_components/CMakeLists.txt
  • rclcpp_lifecycle/CMakeLists.txt
Dominant language
C++
Stars
811
Forks
568
Avg merge
1d 20h
Merged PRs (30d)
19

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

All issues in ros2/rclcpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.