ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to avoid installing files like setup.bash more than once?

asked 2017-07-26 08:24:06 -0500

tompe17 gravatar image

I use "catkin build" and "catkin config --install". Then each package will install for example setup.bash. How can I avoid that. I would like to only install these files in one package.

The reason I would like to do that is that I use CPACK to build a debian package for each ros package. And I get duplicate files in the debian packages.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-26 10:00:12 -0500

Dirk Thomas gravatar image

You can pass the CMake argument -DCATKIN_BUILD_BINARY_PACKAGE=1 to suppress the generation of setup files. All ROS packages except catkin itself use that flag during the release process.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-07-26 08:24:06 -0500

Seen: 210 times

Last updated: Jul 26 '17