[ros-users] [Discourse.ros.org] [Next Generation ROS] Own message generator and building tests

Firesurfer ros.discourse at gmail.com
Tue Nov 8 11:32:20 UTC 2016

Thanks a lot. Sometimes it's hard to see the most obvious things. ` add_dependencies()` has by the way the same problem as the `DEPENDS` statement. 
I had to use this rather ugly solution:

     if(${PROJECT_NAME} STREQUAL "rosidl_generator_cs")
       add_dependencies(${MSG_TARGET_NAME} ros2cs_message_generator)

[Visit Topic](http://discourse.ros.org/t/own-message-generator-and-building-tests/796/3) or reply to this email to respond.

More information about the ros-users mailing list