Subject: Re: [Boost-build] b2 option parsing
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2016-10-30 22:21:19
On 30.10.2016 22:12, Stefan Seefeld wrote:
> On 30.10.2016 22:04, Steven Watanabe wrote:
>>>>> 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) ?
>>> Thanks. Is there a way to access that programmatically ?
> If I wanted to add an API for that, where would I start looking ?
To illustrate with a use-case: If I want to implement an automatic
'clean' target, I need to know what (other) targets are currently known
to the system so I can figure out what files they correspond to (if
any), and thus what artefacts need to be removed.
Hope this makes some sense,
-- ...ich hab' noch einen Koffer in Berlin...
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