← Back to team overview

kicad-developers team mailing list archive

Re: [RFC] precompiled headers

 

On 11/3/2017 10:57 AM, Tomasz Wlostowski wrote:
> On 03/11/17 14:50, Simon Richter wrote:
>> Hi Tom,
>>
>> On 03.11.2017 09:57, Tomasz Wlostowski wrote:
>>
>>> The goal of this patch is to limit the inclusion of boost headers, which
>>> cause a huge slowdown in compilation time.
>>
>> Would it make sense to build a precompiled header will all of Boost and
>> wx that we use?
>>
> 
> A quick test with precompiled headers for the P&S router (single
> threaded build)
> - without: 1m54.329s
> - with:	0m35.946s
> 
> Almost 300% speedup.
> 
> Simon, do you have experience with adding PCH support in CMake scripts?
> If so, this would be *****extremely***** useful!
> 
> Cheers,
> Tom
> 

This would be preferred if it's possible.  I remember a while back, gcc
choked on pre-compiled headers but I imagine that issue has been resolved.

Cheers,

Wayne



References