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

Revision history [back]

click to hide/show revision 1
initial version

(This is really a comment to add to Asomerville's answer but I don't have the Karma to edit the post and the comment want format the script nicely).

I have this script to create all the project files for a workspace/stack. Just cd to the root of the workspace and run to have make eclipse-project run on all packages.

 $ cat ~/bin/make-eclipse-all 
 #!/bin/bash
 basedir=$(pwd)
 for file in $(find . -name 'CMakeLists.txt'); do
     makedir=$(dirname "$file")
     echo $file - $makedir
     cd "$basedir"
     cd "$makedir"
     make eclipse-project
 done