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

asked 2015-01-18 16:05:35 -0600

DevonW gravatar image

updated 2015-01-20 19:35:31 -0600

William gravatar image


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?

edit retag flag offensive close merge delete



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.

William gravatar image William  ( 2015-01-18 16:37:41 -0600 )edit

Updated the question!

DevonW gravatar image DevonW  ( 2015-01-18 17:10:11 -0600 )edit

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

William gravatar image William  ( 2015-01-20 14:08:05 -0600 )edit

Thanks! Much appreciated if it were documented.

DevonW gravatar image DevonW  ( 2015-01-20 14:33:45 -0600 )edit

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.

2ROS0 gravatar image 2ROS0  ( 2015-03-30 21:58:55 -0600 )edit