[Rock-dev] [rock] #22: orogen: use typelib's source_id tracking to reduce recompilation times
rock
noreply at opendfki.de
Fri Apr 15 09:13:51 CEST 2011
#22: orogen: use typelib's source_id tracking to reduce recompilation times
---------------------------+------------------------------------------------
Reporter: sylvain.joyeux | Owner: rock-dev-mailing-list
Type: enhancement | Status: new
Priority: major | Component: base
Keywords: |
---------------------------+------------------------------------------------
Right now, the following happens:
* orogen generates a Types.hpp file that includes all the
headers that are necessary to load *all* types that the
typekit needs
* the typekit files include that Types.hpp file
* the typekit that depend on this typekit also include that
Types.hpp file
In practice, it means that if you change a base header, you
have to recompile *all* typekits from *all* orogen projects
(more or less)
The thing is that typelib tracks in which files each types are
defined. By massaging the XML typelib file (.tlb) to transform
absolute paths into paths in the -I path, one could -- in generated
typekits -- include only the headers that make sense for each
typekit file. This would most probably not reduce first-compilation
time, but at least it should dramatically reduce the need for
recompilation.
--
Ticket URL: <https://rock.opendfki.de/ticket/22>
rock <https://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list