Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-28 02:23:03

On Monday 27 February 2006 23:27, Daniel Einspanjer wrote:
> In test/, the test tag rule in invoked using the __name__ variable.
> e.g.
> exe a : a.cpp : <tag>@$(__name__).tag ;
> lib b : a.cpp : <tag>@$(__name__).tag ;
> Why is this?

I think that because originally, the value of <tag> was required to be
fully-qualified rule name.

> I originally wrote the invocation of my tag rule as
> exe test : test.cpp : <tag>@brand
> And it *seems* to work just fine...

Later, I was hacking on the 'make' and 'notfile' rules, and decided that
__name__ is too obscure, so I fixed the internal mechanism that handles "@"
values of features. That made full name unnecessary for all features,
including <tag>.

I've just modified the testcase to use both full name and local name, and it
works fine. I've committed this change.

- Volodya

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