Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-04-16 11:11:32


Dave Rahardja wrote:

> I've gotten a little further by using:
>
> rule make-absolute ( paths * : root )
> {
> local out = ;
> for p in $(paths)
> {
> out += [ path.root $(p) $(root) ] ;
> }
> return $(out) ;
> }
>
> local includes = [ on $(target) return $(INCLUDES) ] ;
> includes = [ make-absolute $(includes) : [ path.native [ path.pwd ] ] ] ;

Try changing that to:

includes = [ path.native [ make-absolute $(includes) : [ path.pwd ] ] ] ;

If that doesn't work, there's a rule in path.jam that minimizes paths.

-- 
-- 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