Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-01-09 11:43:22


Vladimir Prus wrote:

> Toon Knapen wrote:
>
>>In case no regular expressions would be supported but always all files
>>are given for the specified directory, I would also suggest to include
>>the subdirectories that live inside the specified directory (their names
>>should end with a '/' in the returned list to discriminate them from the
>>normal files).
>>
>
> Toon,
> I'm afraid we're in trouble here. I could not find any way to tell if a name
> is a directory or not under jam (it has some OS abstraction layer). And
> adding such a functionality could be both hard (any VMS users here?),
> and can make too much a change for merging back in Perforce Jam.
> Are directory names with "/" at the end important?

No not directly.

The reason I suggested is basically because it was suggested that the
globbing was as simple as possible, doing the more refined processing in
the jam language itself with the results of the results returned by the
globbing function. Thus the globbing must thus be as strong as possible,
and returning directories is one way for the GLOB to provide even more
information.
But it is not strictly necessary and I thus suggest you leave out the
directories.

 


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