rosjava / genjava

RosJava message definition and serialization artifact generators.
5 stars 32 forks source link

Fix non-existent dependency warning for the catkin API (fix #7) #13

Closed meyerj closed 7 years ago

meyerj commented 7 years ago

Does the generator for Java artifacts depend on the artifacts generated by any other generator? If not, this dependency can be removed. If yes, it should explicitly depend on the target generated by the respective generator, e.g. ${pkg}_generate_messages_py.

Catkin does not export the target ${pkg}_generate_messages, so for isolated builds (e.g. with catkin_make_isolated or catkin_tools) this target does not exist, which triggers the CMake warning reported in #7.

adamantivm commented 7 years ago

Thanks @meyerj