Ask Your Question

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 114 times

Last updated: Jul 26 '17