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)
endif()
---
[Visit Topic](
http://discourse.ros.org/t/own-message-generator-and-building-tests/796/3) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>