Subject: Re: [Boost-build] Defining new variant
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-11-11 02:45:28
On Wednesday, November 10, 2010 18:46:09 Dieter Van de Walle wrote:
> I am just trying to create a new variant with some extra <cflags> enabled.
> I just add the line:
> variant any_variant_name : debug :
> <cflags>some_flag ;
> I keep getting the following error:
> /usr/share/boost-build/build/feature.jam:395: in extend-feature from module
> feature error: any_variant_name is already associated with the "<variant>"
Where have you put your 'variant' statement. Can you add
ECHO "Here we go" ;
rigth before that definition and see if this message is emitted twice. If so,
which Boost.Build version are you using? If M12, then please try nightly
> At this opportunity I would again like to express my frustration at the
> fact that the best C++ buildtool available has the most unaccessible
> scripting language ever... Absolutely nothing I try to do with the jam
> language seems to succeed ...
Python port is not too far away, now.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2
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