On Sat, Oct 28, 2006 at 06:14:22PM +0200, Peter Kümmel wrote: > Bo Peng wrote: > >> When developing with the the cmake build system, > >> precompiled headers are used and all <QtCore>/<QtGui> > >> headers are included by default. So there is no > >> error if the header is not included, but the scons/auto > >> builds will fail. > > > > Your pch approach is convenient, fast, but error-prone. When I tried > > (and failed) to add pch feature for scons, I used a much more > > conservative approach That is to say, pch.h are different for each > > module (directory), and they contain only a common subset of header > > files used. My pch.h are smaller than yours, but errors like missing > > header files will be detected. > > > > Bo > > > > > > No lyx headers are precompiled any more (like in my initial pch), > now only boost, stl, and in the case of qt4 the Qt headers > are precompiled. Is this really too much?
No, either all of std + boost + Qt4 everywhere or std + boost in */!qt4 and std + boost + Qt4 in frontends/qt4 is just fine. Andre'
