Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-12-26 21:53:18

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?


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


Dave Abrahams
Boost Consulting

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