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

catkin - Run CMake only

asked 2013-09-19 07:23:37 -0600

eacousineau gravatar image

updated 2022-01-22 16:16:27 -0600

Evgeny gravatar image

Is there a simple method to invoke catkin so that it only configures CMake, but does not invoke make?

Right now my current solution is to have make do a dry-run:

catkin_make --make-args -n

However, this occasionally results in errors. (Will post them next time I run into them)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-19 07:47:19 -0600

Dirk Thomas gravatar image

After invoking catkin_init_workspace (which creates a toplevel CMakeLists.txt file) you can just use standard cmake.

edit flag offensive delete link more


Ah, thanks! To make sure I have it right, you would just to `catkin_ws/build/` and invoke `cmake ../src/CMakeLists.txt`?

eacousineau gravatar image eacousineau  ( 2013-09-19 07:52:29 -0600 )edit


Dirk Thomas gravatar image Dirk Thomas  ( 2013-09-19 08:04:15 -0600 )edit

Question Tools

1 follower


Asked: 2013-09-19 07:23:37 -0600

Seen: 778 times

Last updated: Sep 19 '13