Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-18 02:19:04


On Wednesday 17 November 2004 23:04, Rene Rivera wrote:
> Vladimir Prus wrote:
> > I'm not sure what to do, except for special "find only file" flag on
> > targets.
>
> Well, after some sleep :-), did some looking and that seems like a
> reasonable approach. So this is what I plan to do:
>
> 1) Add a T_FLAG_ISFILE target flag.
> 2) Add a "ISFILE ( targets * )" builtin to set the flag.
> 3) Add a file_type to filesys. And implement it for the various platforms.
> 4) Modify search()/SEARCH to check the ISFILE flag to the file_type.
> 5) Change BBv1 to ISFILE headers.
>
> Sound OK?

Absolutely.

> I'll leave changing BBv2 for Volodya.

Sure. If you take care of bjam core, I'll fix V2 as soon as you're done.

> Because ideally we should change
> not just headers but all targets we expect to be files so that they
> don't match dirs.

I need to think about all cases where it's relevant. For now, I only know that
if you do

bjam bin

and there's "bin" directory, then V2 think you requested update of the "bin"
directory.

- Volodya

 


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