← Back to team overview

kicad-developers team mailing list archive

Re: Incremental build speeds.

 

On Wed, Oct 22, 2014 at 10:15:46PM +0100, Martijn Kuipers wrote:
> You can try, but my guess is that you should not expect a warm welcome for patches doing so. CMake may be slower, but it has shown to be able to deal with a whole lot of weird things on all platforms. The main devs and Dick (I am not) have spent so much time on this, that I doubt they´ll be very receptive. Also, kicad used Wx, why use a QT build-system?

>From the test I made just 'persuade' cmake to omit unneeded dependencies
(like wx includes and the 'internal' boost, which are very unlikely to
change) and you should have solved the issue. There are also make tricks
(like master touch files) but they 1) probably are not applicable to
cmake and 2) don't gain much as the bulk of dependencies removed.

However the main time hogger is the compiler itself (as it should be :D); you
could try to lower the -O flags at the expense of less performance and,
more importantly, less compile warnings.

-- 
Lorenzo Marcantonio
Logos Srl


References