ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

pre / post build events in catkin

asked 2015-10-01 05:59:30 -0500

arennuit gravatar image

Hi all,

Is there a way to specify to catkin that it should perform some custom tasks before/after doing its jobs?

Like a pre/post build event in a build system...

I actually need to declare environment variables before calling catkin and this would be very useful...



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-10-02 05:47:30 -0500

Dirk Thomas gravatar image

updated 2015-10-02 05:48:50 -0500

I am not sure if I understand you question. You say you need to declare environment variables before calling catkin. Doesn't that imply that catkin itself can't help you with that?

Or do you want to set the environment variable for some command within CMake?

If you want to set environment variable in one package to be available to other downstream packages that can be done by environment hook in catkin. For an example how to use environment hooks in a package please see the following links:

Maybe you can describe your use case in more detail to enable others to understand it and then give a better answer.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-10-01 05:59:30 -0500

Seen: 279 times

Last updated: Oct 02 '15