Generate debian package with custom CMake args

asked 2021-03-17 08:36:18 -0500

Mehdi. gravatar image

I am trying to package the software I am using for a cleaner deploy process. Using

bloom-generate rosdebian --os-name ubuntu --os-version bionic --ros-distro melodic
fakeroot debian/rules binary

works well for most packages, but I have some complex packages where I need to pass some CMake arguments in order to choose which modules to compile, something like


It is easy to set this in my catkin workspace, but I couldn't figure out a way to make bloom also use it. I probably could use sed to modify the generated debian/rules file but I'd rather avoid that if possible.

edit retag flag offensive close merge delete


Just a quick comment: you'll want to look at the patch support in Bloom.

The 3rd party release tutorial talks about it.

gvdhoorn gravatar image gvdhoorn  ( 2021-03-17 12:17:50 -0500 )edit