ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

catkin - Run CMake only

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

eacousineau gravatar image

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

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
1

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

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

Comments

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 -0500 )edit

Exactly...

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 678 times

Last updated: Sep 19 '13