|
Boost-Build : |
Subject: [Boost-build] accessing properties not working
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2010-04-04 05:07:41
I struggling with boost.build for a while and I don't get the Jamfile
working. I hope you are so kind to help me a little bit.
I use target alternatives for different platforms. The alternatives
depend on used compiler, architecture, target-os and linkage.
I've added a new feature ctxapi which is used to select the correct
target-alternative.
Unfortunately the rule setting the default value for ctxapi can not
access the properties like <toolset>.
rule default_ctxapi ( properties * )
{
if <toolset>gcc in $(properties)
{
# never entered ?!
}
}
feature.set-default ctxapi : [ default_ctxapi $(properties) ] ;
I didn't found a hint inside the documentation.
Oliver
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