Skip to content

Labeled output of cmake command - #406

Open
furushchev wants to merge 1 commit into
RobotLocomotion:mainfrom
furushchev:labeled-cmake-command
Open

Labeled output of cmake command#406
furushchev wants to merge 1 commit into
RobotLocomotion:mainfrom
furushchev:labeled-cmake-command

Conversation

@furushchev

@furushchev furushchev commented Jan 17, 2026

Copy link
Copy Markdown

This patch makes the output of cmake commands run in lib/private/scripts/generate_build_file.py more helpful for debugging by prepending package name to the stdout/stderr of the command.
It will look more understandable especially when jobs > 1.

     [rosidl_typesupport_c] -- The C compiler identification is GNU 13.3.0
     [rosidl_parser] -- The C compiler identification is GNU 13.3.0
     [rosidl_typesupport_cpp] -- The C compiler identification is GNU 13.3.0
     [rosidl_generator_c] -- The C compiler identification is GNU 13.3.0
     [rcl_interfaces] -- The C compiler identification is GNU 13.3.0
     [unique_identifier_msgs] -- The C compiler identification is GNU 13.3.0
     [rosidl_typesupport_cpp] -- The CXX compiler identification is GNU 13.3.0
     [rosidl_parser] -- The CXX compiler identification is GNU 13.3.0
     [ament_cmake_flake8] -- The CXX compiler identification is GNU 13.3.0
     [rosidl_generator_c] -- The CXX compiler identification is GNU 13.3.0
     [rosidl_typesupport_cpp] -- Detecting C compiler ABI info
     [rosidl_typesupport_c] -- The CXX compiler identification is GNU 13.3.0
     [rosidl_runtime_c] -- The CXX compiler identification is GNU 13.3.0
     [rosidl_parser] -- Detecting C compiler ABI info
     [ament_cmake_flake8] -- Detecting C compiler ABI info
     [rcl_interfaces] -- The CXX compiler identification is GNU 13.3.0
     [rosidl_generator_c] -- Detecting C compiler ABI info
     [unique_identifier_msgs] -- The CXX compiler identification is GNU 13.3.0

This change is Reviewable

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.

1 participant