Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-03-31 13:58:40


On 2002-03-31 at 01:50 PM, david.abrahams_at_[hidden] (David Abrahams) wrote:

>
>----- 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".

"include-guard" it shall be :-)

>> >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.

Agreed, and that's what I current do. But what I originally tried to say was
that if I really tried I could get rid of the extra argument by using the
search argument. Which doesn't have the full path/file.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]

 


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