Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-11-06 12:23:13


Reece Dunn wrote:
> action bundle
> {
> $(BUNDLER) ... @($(TMPFILE):S=.lst:E=$(nl)"$(<)")
> }
>
> The @(...) is the new response file logic...
> $(TMPFILE) -- generate a temporary file (don't care what it's called)
> :S=.lst -- make it have the .lst extension (i.e. it matches *.lst)
> :E= -- set the content of the file to...
> $(nl)"$(<)" -- a list of newline separated source files
>
> the @(...) will expand to the name of the file, e.g. /tmp/jam124890.lst.

Minor correction... it would be @($(TMPFILE:S=.lst):E=$(nl)"$(<)") --
Note the ":S=.lst" inside the TMPFILE var expansion.

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

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