0

Rosanswers logo

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.


Originally posted by tompe17 on ROS Answers with karma: 140 on 2017-07-26

Post score: 0

1 Answers1

0

Rosanswers logo

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.


Originally posted by Dirk Thomas with karma: 16276 on 2017-07-26

This answer was ACCEPTED on the original site

Post score: 0