Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

add separate option CATKIN_INSTALL_INTO_PREFIX_ROOT#940

Merged
dirk-thomas merged 1 commit intokinetic-develfrom
option_install_into_prefix_root
May 31, 2018
Merged

add separate option CATKIN_INSTALL_INTO_PREFIX_ROOT#940
dirk-thomas merged 1 commit intokinetic-develfrom
option_install_into_prefix_root

Conversation

@dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas commented May 30, 2018

The existing option CATKIN_BUILD_BINARY_PACKAGE is being used in the generated Debian rules files (except for catkin itself). Currently that flag has two effects:

When building ROS 1 packages with colcon the second side effect is desired when building with --merge-install but the first one is not. In order to select that combination this patch introduces a new flag named CATKIN_INSTALL_INTO_PREFIX_ROOT. The value of this new variable is being initialized based on the value of the existing variable CATKIN_BUILD_BINARY_PACKAGE (in case it is not being passed explicitly from the command line). This allows colcon-ros to pass -DCATKIN_INSTALL_INTO_PREFIX_ROOT=0 while still keeping tests enabled (see colcon/colcon-ros#11).

@dirk-thomas dirk-thomas merged commit f359542 into kinetic-devel May 31, 2018
@dirk-thomas dirk-thomas deleted the option_install_into_prefix_root branch May 31, 2018 18:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants