Shorter build times
David Faure
faure at kde.org
Thu Mar 29 18:14:33 BST 2007
On Thursday 29 March 2007, Peter Kümmel wrote:
> 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.
>
> Thanks ;)
>
> >
> > But why are the touched files compiled together? IMHO this isn't a good idea,
> > it will make developers forget some #include statements.
>
> You mean developers will forget to comment out the includes in the _const file?
No, no. I mean that developers will write new code in a.cpp and b.cpp,
and they won't notice that b.cpp should include <foo.h>, because it compiles for them,
with a.cpp already including <foo.h> (and allinone_nonconst includes a.cpp+b.cpp).
After they commit, compilation is broken for everyone else.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list