Shorter build times

Oswald Buddenhagen ossi at kde.org
Thu Mar 29 17:19:58 BST 2007


On Thu, Mar 29, 2007 at 05:14:28PM +0200, Alexander Neundorf wrote:
> On Thursday 29 March 2007 15:28, David Faure wrote:
> > On Wednesday 28 March 2007, Peter Kümmel wrote:
> > > The idea of attached patch is to manually exclude some files from the
> > > generated all-in-one file.
> >
> > Good idea.
> >
> > But why are the touched files compiled together? IMHO this isn't a good
> > idea, it will make developers forget some #include statements.
> >
> > I like the idea of a allinone_const.cpp, but the non-const files (i.e. the
> > modified files) should just be compiled separately. Can that be done?
> 
> I don't really like the idea.
> It creates another *very* special variant how to build things in KDE.
> [...]
>
it wouldn't have to be another variant, just an extension to final.
however, i don't like it because it's too much manual work.

> A better idea would be if the enable_final option could be switched
> on/off per directory. [...]
>
still some manual intervention in advance ...

> Another idea would be if ENABLE_FINAL is enabled, to also generate the
> "normal" targets so that they can be called manually. Then the output
> for these targets would have to be renamed.
>
i'm wondering whether this could not be achieved by clever use of
variables, just like we have VERBOSE=1.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list