Boost logo

Boost-Build :

Subject: Re: [Boost-build] b2 option parsing
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-10-30 22:24:32


On 10/30/2016 08:12 PM, Stefan Seefeld wrote:
> On 30.10.2016 22:04, Steven Watanabe wrote:
>> <snip>
>>>>> Further, calling `../../src/engine/bin.linuxx86_64/b2` from an example
>>>>> directory yields
>>>>> ...found 3 targets...
>>>>> is there a way to have 'b2' print out the names of those 3 targets, or
>>>>> even introspect them using the "bjam" module (or some other API for that
>>>>> matter) ?
>>>> -d+12
>>> Thanks. Is there a way to access that programmatically ?
>> No.
> If I wanted to add an API for that, where would I start looking ?

The TARGET data structure in rules.h.
The function bindtarget looks up a target by name.

In Christ,
Steven Watanabe

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