Boost logo

Boost-Build :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2006-02-07 11:46:41

Vladimir Prus wrote:
> I see two ways to solve the problem:
> 1. Automatically strip the suffix from main target name, when determining
> basename of generated targets. So, it's possible to use:
> foo main.first : main.src ;
> foo main.second : main.src ;
> and ".first"/".second" suffixes will be used only to resolve the ambiguity,
> they won't affect the names of generated targets.
> 2. Allow to explicitly specify the basename of the generated target via some
> feature, say, "<name>". So, user would have to write:
> foo main.first : main.src : <name>main ;
> foo main.second : main.src : <name>main ;
> At the moment, I favour the first approach since it's easier for the user.
> Anybody can comment, or offer any other idea?

First comment: Yes!
Second comment: Either way suits me with a slight preference for the first.
Third comment: How hard would it be to implement both?

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