On Mon, Oct 23, 2006 at 07:00:18AM -0500, Bo Peng wrote: > >Ah, here is the official request. ;) > > > >First: Is it worth the effort? How big is the speedup? > > MSVC seems to benefit from pch more than gcc. I never had any first > hand experience though. > > >Second: Was there not another endless discussion about > >precompiled headers between Bo and Lars? Is it now > >possible with scons? > > At least for scons, it is not possible to do MSVC/PCH without > including pch.h into xxx.C. You can read the archive (and cmake > manual) to make your own judgement.
There is an commandline option for a forced include. Forgot which, though. In any case, we have that include already. It's named config.h. You can put your stuff there. Andre'