Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-08-06 22:57:06


[2002-08-06] Vladimir Prus wrote:
>Rene Rivera wrote:
>> [2002-07-08] Vladimir Prus wrote:
>> >3. We'd need to import non-local rules from project root module into
>>
>> jamfile
>>
>> >modules.
>>
>> Do you want me to bounce you the sourceforge task and you work on that
one?
>> Or do you want me to work on it?
>
>I like the second variant better ;-)

OK. done.

>> Either way one issue is... When should the
>> rules be imported? The three choices I see are: 1) in
new/project-root.jam
>> before the project gets loaded; 2) in new/project.jam before loading the
>> project, but after creating the project module; or 3) after the project
is
>> loaded.
>>
>> #3 Looks obviously like the wrong choice. As that would remove the
benefit
>> of the user declaring the rules :-)
>>
>> Choosing between #1 and #2 is only a choice of where we think the code
>> should be, as it seems to be both project-root and project code.
>
>I favour #2, although don't know why.

I did #1 :-) It was easier there because it needed to refer to the
project-root-context in the same 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