From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-01-04 10:30:59
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 think
> > 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, interpret
it relatively to the current directory, and return all the matches? The other
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, and
that the former should be taken. Other comments?
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