Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2005-09-14 11:22:58

Vladimir Prus wrote:

> Hmm.. why didn't you speak up before? It's the first time a user reports
> precompiled header support as a showstopper; if I knew it before such
> support
> would probably be already implemented.

Just a note in case you do start implementing this -- I tried an
experiment yesterday and added <cflags>/YX ("Automatic Use of
Precompiled Headers") to my build and it won't work if you do -j2. Both
compiler processes try to open the .pch file and lock it. A couple of
weeks ago, I played with .pdb file generation and ran into the same
problem. I can create .pdb files as long as I don't use the -j option.

Something else that could be useful for speeding up builds would be
multiple source files on the same command-line. I don't know how hard
would be, though, since I haven't had time to learn the internals of yet (any pointers on how to start?). I know gcc and vc++
allow you to specify multiple source files on the command-line.
Unfortunately, gcc doesn't let you specify an output directory for the
object files like vc++ does.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at