Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can read this for more information about CMakeLists (section 8).
Here is a related question about the differtence between "_generate_messages_cpp" and "_exported_targets". This one gives also some info on _generate_messages_cpp.

Basically, beginner_tutorials_generate_messages_cpp means that the messages should be build before the target since the target is using them. If you have a package which builds messages and executable that use them, then you need to create an explicit dependency on the automatically-generated message target so that they are built in the correct order.

You can read this for more information about CMakeLists (section 8).
Here is a related question about the differtence between "_generate_messages_cpp" and "_exported_targets". This one gives also some info on _generate_messages_cpp. _generate_messages_cpp.

The difference of catkin and project exported targets (not only messages) is well explained in this answer.

Basically, beginner_tutorials_generate_messages_cpp means that the messages should be build before the target since the target is using them. If you have a package which builds messages and executable that use them, then you need to create an explicit dependency on the automatically-generated message target so that they are built in the correct order.

You can read this for more information about CMakeLists (section 8).
Here is a related question about the differtence between "_generate_messages_cpp" and "_exported_targets". This one gives also some info on _generate_messages_cpp.

The difference of catkin and project exported targets (not only messages) is well explained in this answer.

Basically, beginner_tutorials_generate_messages_cpp means that the messages should be build before the target since the target is using them. If you have a package which builds messages and executable that use them, then you need to create an explicit dependency on the automatically-generated automatically generated message target so that they are built in the correct order.