Generate debian package with custom CMake args
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
-DBUILD_MODULES=module1;module2
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.
Just a quick comment: you'll want to look at the patch support in Bloom.
The 3rd party release tutorial talks about it.