From: Chris Weed (chrisweed_at_[hidden])
Date: 2006-06-29 09:24:59
I currently can do the following:
obj object1 : src/file1.cpp ;
obj object2 : src/file2.cpp ;
obj object3 : src/file3.cpp ;
alias objects : object1 object2 object3 ;
I would like the same thing, but glob all of the files in the src
directory w/o enumerating all of them.
I would like something like this:
obj all_objs : [ glob src/*.cpp ] ;
However, the obj rule seems to only take one source file and create
one object file.
I don't see how I can generate multiple object files from a glob command.
On 6/28/06, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Tuesday 27 June 2006 21:26, Chris Weed wrote:
> > I can enumerate all of the object rules in my Jamfile, and then alias
> > this. But what I want is to give it
> What's "it"?
> > a wildcard expression like
> > "plugins/*.cpp". That doesn't seem to work.
> What exactly did you try, and what exactly did you got, and what you'd
> expected? Do you know about the 'glob' rule?
> - Volodya
> Vladimir Prus
> Boost.Build V2: http://boost.org/boost-build2
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