Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-08-05 23:40:19


[2002-07-08] Vladimir Prus wrote:
>Second, this issue involves some changes to project root handling.
>
>1. Maybe, we should move all project-root related data into separate
object,
>so that proejct root module namespace be clean as well.

Done, finally ;-)

>2. We'd need to make the "use-project" rule available in project root
>namespace. (I'll document that rule in the user docs soon. You can refer to
>the thread starting with
>http://groups.yahoo.com/group/jamboost/message/1320 meanwhile)

Done. Although I don't know how well of a test I put in is. I just put a
use-project in the project-root.jam of project-test3/lib3.

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

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