Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-10-22 15:15:50


Craig Bachelor wrote:
> Requirement 1:
> I want BB to automagically compile any slice source files #included by
> another slice source file. To do this I need to get the list of
> includes from the scanner and create new source targets out of these.
> I know this must be possible, but I can't quite get it.

Actually, it's not currently possible. There is a disclaimer some place
in the bjam docs that mentions that the header inclusion dependencies
are calculated *after* the build dependencies. I.e. they are done at
make time, which is too late to add build targets.

Hm, the closest explanation I found explains the overall bjam operation
<http://boost.org/doc/html/jam/usage.html#jam.usage.operation>.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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