Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-27 11:56:49

----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>

> I see some advantages to this approach:
> - It forces better interfaces on modules instead of
communication/setup with
> variables.
> - The semantics are close to class/object ones I'm familiar with :-)


> Question; What are the semantics of "import" in this case? I the
> message you implied that variables get affected when importing but the
> only talk about rules. From my current intuition of this, the
variables don't
> get affected, and the imported rules access their corresponding
> variables.

Exactly. Unless, of course, you import with the optional final LOCALIZE
argument, in which case the rule acts like it was defined in the module
into which it's being imported.



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