post-installation command order in a catkin package

asked 2019-07-05 05:09:34 -0600

asier.fernandez gravatar image

Hi there,

We have a python catkin package, and we want to add a custom install command in the last stage:

install ( CODE "execute_process(COMMAND bash \"-c\" \"our_command\" )" )

According to cmake documentation for install command:

This command generates installation rules for a project. Rules specified by calls to this command within a source directory are executed in order during installation. The order across directories is not defined.

catkin_python_setup() macro also adds install commands.

We'd want to know if we define our custom install command in the end of our CMakeLists.txt, if is going to be executed always after install commands generated by catkin_python_setup().

Thanks a lot!


edit retag flag offensive close merge delete