Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-27 02:54:14

On Monday 27 December 2004 05:53, David Abrahams wrote:
> Alexey Syomichev wrote:
> > Hi,
> > I am trying to get some understanding of how the build system works.
> > A Jamfile has the the following statement:
> > obj aobj : a.cpp ;
> > This looks very much like an invocation of the rule "obj". Is this
> > correct?
> Exactly.
> > Where is the declaration for the rule "obj"?
> It's actually type.main-target-rule from build/type.jam. It is IMPORTed
> into Jamfiles with the name "obj" and Boost.Build looks backwards up the
> stack to find the name it was invoked with, and maps it into a target type.

And that IMPORT statement is in type.register rule. It's the last statement
there, at line 84 in my copy of the file.

- Volodya


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