big Deps ...

Michael Stahl mstahl at redhat.com
Thu Jun 21 07:01:03 PDT 2012


On 21/06/12 13:47, Stephan Bergmann wrote:
> On 06/21/2012 10:57 AM, Michael Meeks wrote:
>> On Wed, 2012-06-20 at 18:28 +0200, Stephan Bergmann wrote:
>>> IIRC, the logic of cppumaker is to first generate temporary .hpp and
>>> .hdl files and only copy them over existing ones in solver if they are
>>> actually different.  That way, it should easily happen that a .hdl file
>>> is updated while the corresponding .hpp file is not.  (For example, when
>>
>> 	Fair enough; but we could presumably easily tweak that such that a .hdl
>> and .hpp would be updated in lock-step; after all if the .hpp is not
>> changed - it necessarily includes the .hdl - so we didn't really gain
>> anything from not touching the .hpp :-)
> 
> Yeah, could probably be done.

that sounds easy enough.

>> 	[ indeed, I'm sure there is one - but what is the benefit of separating
>> the .hdl files out, if we are sure that each .hpp will include all of
>> it's dependent .hpp's ? ].
> 
> Circular dependencies among headers.

i wonder: is that the case for all generated headers, or just for some
small subset that is necessary for bootstrapping (i.e. probably
css.uno/css.lang)?

if the latter, would it be possible to add some option or something to
only generate 2 headers when really necessary?



More information about the LibreOffice mailing list