Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-31 13:50:26


----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>

> One possible use would be to do multiple inclusion of the same file in
the
> same module scope. One could do this:
>
> modules.load my-module : : : pass-1 ;
> modules.load my-module : : : pass-2 ;
>
> I'm not sure we'll ever use it that way. But it's there if we have to
:-)

I prefer not to build in generality for which we have no anticipated
use.
However, if you really believe in this, call it "inclusion-tag", or
better yet, "include-guard".

> >I'm still in the dark. Don't you want to use the full path to the
file,
> >including its name, as the identifier?
>
> Not in the case of Jamfiles, since there's only one per directory. But
yes, I
> prefer using the whole path including the filename.

I still don't see how it would hurt to use the full path.

-Dave

 


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