Robotics StackExchange | Archived questions

What does gencpp and EXPORTED_TARGETS refer to in CMakeLists.txt?

Edit:

I'm wondering if there's documentation where it says what these things do.

Specifically, if I use it like this:

add_dependencies(target ${catkin_EXPORTED_TARGETS} example_package_gencpp)

What does exported targets include, and what does gencpp include?

Asked by DevonW on 2015-01-18 17:05:35 UTC

Comments

Please give an example what you don't understand. Is there something specific you are interested in, can you link to a situation where it is being used and you don't get it, or to documentation which is insufficient? You're more likely to get help if you look like you are trying to help yourself.

Asked by William on 2015-01-18 17:37:41 UTC

Updated the question!

Asked by DevonW on 2015-01-18 18:10:11 UTC

Ok, thanks, I'll try to put together an answer soon.

Asked by William on 2015-01-20 15:08:05 UTC

Thanks! Much appreciated if it were documented.

Asked by DevonW on 2015-01-20 15:33:45 UTC

Bump. I would like some documentation on gencpp too. All I've used it for is when adding some msgs as dependencies to a target node.

Asked by 2ROS0 on 2015-03-30 21:58:55 UTC

Answers