Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-03-17 04:40:32


Mark Evans wrote:
> I tried that. To illustrate, let's change gcc toolset rule/actions
> for c++ to:
>
> rule compile.c++ ( targets * : sources * : properties * )
> {
> FOO on $(targets) = $(sources:S=.L) ;
> ...
> }
> actions compile.c++ bind FOO
> {
> echo $(FOO)
> "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-100 $(OPTIONS)
> -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
> }

What about "echo $(>:S=.L)" instead of "echo $(FOO)"?

Phillip


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