Boost logo

Boost-Build :

Subject: Re: [Boost-build] Identifying target-name in jamfile
From: Edward Diener (eldiener_at_[hidden])
Date: 2016-05-29 16:37:50


On 5/29/2016 3:18 PM, Steven Watanabe wrote:
> AMDG
>
> On 05/29/2016 12:29 PM, Edward Diener wrote:
>> On 5/29/2016 12:58 PM, Steven Watanabe wrote:
>>>
>>> There's no magic involved. When we need
>>> to look up a target reference like that,
>>> the first step is always to load the
>>> project containing it.
>>
>> Once the project is loaded how does Boost Build identify a given target
>> name in the project ?
>>
>
> The rules like exe, run, obj, etc, register
> the targets. Each project essentially stores
> a map of target names to main-target's.

What does "registering a target" entail ? I have a non-local rule in a
jamfile that evidently Boost Build recognizes as creating a target, but
I don't know how Boost Build recognizes it as a target. Whatever
"registering a target" means I am not doing this for the rule.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk