Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-20 09:59:18

Vladimir Prus <ghost_at_[hidden]> writes:

> David Abrahams wrote:
>> > Ok, I get you. Though we'd still need to enumerate all libraries.
>> Where? Why? How? (seriously)
> Where: In top level Jamfile.
> Why: to know which libraries to install. We either need the names of
> directories or target ids.

Oh, fine. You just mean that any installation procedure needs to be
able to find everything that needs to be installed, somehow. No
problem. Saying that we have to "enumerate all libraries" is a bit
too sweeping in the context of talking about how BBv2 should be
changed. Although Boost is our primary client, if you start talking
about Boost specifically without warning me, I'm liable to get
confused. ;-)

> How: for Boost, some simple GLOB-based approach would be enough. Not sure
> about wider scope.


>> >> I don't know what "auto-compute subproject ids" means, but I don't
>> >> think it's needed if we have the above.
>> >
>> > I meaning adding prepending boost "boost" to project-ids of all
>> > libraries.
>> Are you talking about the capability of using relative project ids?
> I think so.


>> > I think there are some questions to be solved yet:
>> >
>> > 1. Should we retain ability to specify absolute ids in 'project' rule
>> > invocation.
>> First tell me what files will invoke "project" and why.
> Jamfiles for individual projects: mostly to specify requirements and
> usage-requirements which apply only to those projects.

My sense is that it won't add any useful information, because any
remote project using that project or config file setting the project
up will have to name it again anyhow. Am I wrong?

Ah, you want to be able to give a name to the top level of a local


use-project boost : . ;

project : requirements watever
: some-other-attribute blah

Now that leads me to want to rename the rules and write it this way:


project boost : . ;

: requirements watever
: some-other-attribute blah

Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at