Hi Enrico,

* Enrico Zini <enr...@enricozini.org> [2024-12-20 19:29]:
* Is there a way to tell cmake to build the two things together, or to
  point at the build dir of the first one to build the second one,
  without installing it first?

I had a similar problem with the ros- packages and solved it with a top level CMakeLists.txt doing add_subdirectory() for every project. Here is an example:

https://sources.debian.org/src/ros-image-transport-plugins/1.15.0-3/debian/patches/0001-Add-CMakeLists.txt.patch/

* Is there a clean way to tell debhelper that cmake and make need to be
  called multiple times?

That's also possible but you would need to override all targets in d/rules with the duplicated commands.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to