Shorter build times

David Faure faure at kde.org
Wed Mar 28 10:34:24 BST 2007


On Wednesday 28 March 2007, Krzysztof Lichota wrote:
> Which reminds me of another trick I used at work when building large
> projects. By default build system compiles files in order specified in
> Makefile/other control file. If I was working on one header and one
> source file and there were other files dependent on this header, build
> system rebuilt them in this static order until it got to source file
> corresponding to header file, while often if there was an error, I would
> change header again and go through rebuilding all these files again. So
> I changed list of compiled files to be autogenerated in order of
> modification time, so that file I am working on is compiled first. This
> saved me a lot of time :)

A simpler solution is "make myfile.o" 
(which is bound to Shift+F6 if you use kde-emacs with kde-emacs-bindings.el)

-- 
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