Boost logo

Boost-Build :

From: ANDREW MARLOW, BLOOMBERG/ LONDON OF (amarlow1_at_[hidden])
Date: 2005-09-15 02:03:29


----- Original Message -----
From: Reece Dunn <jamboost_at_[hidden]>
NOTE: Since BBv2 is doing #include scanning, it should be possible to
automatically scan for <pch-file> in the top-level source file and if
found, enable PCHs. This would be much simpler to use and would be the
preferred way to go,

AM> One has to be careful here. The presence of such a #include stmt
could easily be because the code is multi-platform and takes
advantage of pch where possible. For example, s/w that is
developed for Windoze and Unix may contain such #include stmts,
but typically there is no pch facility on unix. The pch header file
would contain #ifdef's to make the file a no-op where the
facility is not supported.

Regards,

Andrew Marlow

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk