[ros-dev] Re: Faster compilation

Nathan Woods npwoods at cybercom.net
Wed Nov 23 22:50:34 CET 2005


Casper Hornstrup writes: 

> [snip]
> Now we have 300+ modules that need to be split into compilation units. Are 
> there any volunteers that wish to help with these tasks? 
> 
> Thoughts?
 

Maybe I do not understand enough about how compilation units work so this 
might be a dumb question, but why cant rbuild automatically split projects 
up into compilation units automatically? 


rbuild is supposed to insulate projects from the details of the underlying 
build system, and it could decide how many compilation units it would use 
for any given project based on how many lines of code are involved, or just 
the file sizes for that matter.  Of course, if some projects have duplicate 
code in such a way that compilation units can't be used, then thats a 
problem.  But I would imagine that those would be easily fixed. 


 -N


More information about the Ros-dev mailing list