Boost logo

Boost-Build :

Subject: [Boost-build] bjam: names vs. boundname
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-08-25 19:51:54


Hi there,

playing more with bjam C code, I wonder whether I could highjack the
"name" vs. "boundname" distinction in the target definition. For that
I'd like to first understand how it is used in Boost.Build.

I'm reading the source code (starting in
https://github.com/boostorg/build/blob/develop/src/engine/make.c#L271)
and wonder how it might be used. In my case (faber), I use neither
SEARCH nor LOCATE, but am considering the possibility to change the
"boundname" later in the process (after targets have already been
defined, notably to change the actual filename if a property changes).
Would that work ?

If I refer to a target by name (to request an update, say), I'm using
the "name", rather than the "boundname", right ? And which of the two is
being passed to actions ?

A bit of experimentation I've been doing yields confusing results,
though I may just have introduced some bugs.

Many thanks,

        Stefan

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