Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Tuesday 21 of February 2012, Michael Stahl wrote:
    I wonder how bad the alternative of adding -I$S/svx/inc -I$S/vcl/inc
etc. etc. is for command-line length ?

would need to try that out on Windows, but my guess is that even if it
doesn't blow out command line length limits (which could be worked
around with a response file) it'll make the Windows build a lot slower
because compiler has to try out all include paths (well statistically
half of them but that is bad enough) for every included files, and those
file accesses take forever on Windows.

 Could not the windows build be helped by having only one location for include 
files where a script would at the beginning of the build create for each .hxx 
file a small wrapper with the same name only doing #include of the real one, 
with the right path to it?

 And, since I'm already asking, is the Windows performance the reason include 
files are scattered this way? E.g. in sw/ I find this actually rather 
annoying, some .hxx files are in inc/, some next to .cxx sources, Writer 
AFAIK does not really export anything anyway, and I always have to jump 
around just to find the right header file :(.

-- 
 Lubos Lunak
 l.lunak@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.