Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-06-22 13:54:42


Andrei Melnikov wrote:
> Also, can someone explain me the magic behind the following:
>
> @"@($(<[1]:W).rsp:E=$(nl)"$(>)" $(CC_RSPLINE))"
>
> So I'll be able to perform better code reduction than I did in my
> patch. Is @() a special operator to create files?

Yes it is:

     @(<filename>:E=<filecontent>)

Will create a file and populate it with the content given. Then the
@(...) is replaced with the name of the of the file in the action. There
are other options possible not worth mentioning now. Instead I'll make
sure to add some documentation for it :-)

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