Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-04-16 01:03:34


Rene Rivera wrote:
> Dave Rahardja wrote:
>> When writing a toolset definition, how can I get the absolute paths of files
>> passed into rules and actions, instead of their gristed versions?
>
> local p = [ on $(target) return $(LOCATE) ] ;

PS. That only gets you the, usually relative, ungristed path to the
gristed part of the target. You'll have to root it with pwd, and append
the target filename.

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