How do I get rosmake to call cmake
Here's a minimal example. ROS Package A depends on ROS Package B. The authors of these packages did not distribute Makefiles, because they contain hard-coded paths to their computers. Therefore, I need to call cmake .
and then make
.
I would like to to call rosmake A
and have it call cmake on both A and B and then make. Is that possible?
Currently, it just skips over any package without a Makefile:
[rosmake-0] Starting >>> A [ make ]
[rosmake-0] Finished <<< A No Makefile in package A
I do not want to copy their code into a new package, because I would need to do that every time that the authors publish a new version.
In addition, when I create my ROS Package C, which depends on A, I don't want the users of my package to have problems compiling, because they are not necessarily familiar with ROS. I want them to type rosmake C
and have everything working as expected.