From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-04 12:30:01
I like the name "GLOB", if the primitive is going to actually do globbing.
The very simplest primitive would be one that returns the names of all files
in a given directory. We could then implement GLOB in Jam rules, using
regular expressions. In general I have been in favor of making the built-in
rules as primitive as possible and doing as much as is feasible at the
----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>
Sent: Friday, January 04, 2002 10:30 AM
Subject: Re: [jamboost] Wrapping up new design
> Toon Knapen wrote:
> > >>Extreme suggestion here :-) The following would be cool to have:
> > >>
> > >>project.source <location>src <pattern>*.c ;
> > >>
> > >># builds all the "c" files in the "src" directory.
> > >>exe foobar : * ;
> > >
> > > Not so extreme. I think Toon wanted to do something similar, but I
> > > this makes more sense:
> > >
> > > project my-project : <source-location>src ;
> > > exe foobar : *.c ;
> > correct. I would like to see this a lot !
> The simplest question here is how the new builtin rules should be called.
> I think that "GLOB". It it reasonable to make it take a wildcard,
> it relatively to the current directory, and return all the matches? The
> option is to take a target name, and then match filenames in the directory
> given via "LOCATE". I don't think this latter option gives us anything,
> that the former should be taken. Other comments?
> - Volodya
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
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