Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-02-26 10:39:40

David Abrahams wrote:
> I was just reading through boost_build_v2.html, and even though I was
> in on the design of these features, I've forgotten a lot, so I here
> are my remarks:
> 1. target/Project IDs are mentioned without any introduction. Some
> introductory description needs to be written. I'd do it, but I'm
> not clear on the concepts anymore ;-S

I'll do this later today, offline.

> 2. The example shows:
> use-project /lib1 : lib/lib1 ;
> exe app : app.cpp @/lib1/lib1 ;
> What's the meaning of the initial slash?

It means that /lib1 is global project id.

> What would it mean if I wrote:
> use-project lib1 : lib/lib1 ;
> exe app : app.cpp @lib/lib1 ;

In theory, this should declare local project id. In practice, this is not
supposed to work.

> 3. What's the scope of these target IDs? Suppose two different
> projects do "use-project /lib1"?

Since they try to declare /lib1, which is global project-id, they better
associate it with the same Jamfile.

- Volodya


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