Boost logo

Boost-Build :

From: Ilya Sokolov (fal_delivery_at_[hidden])
Date: 2006-05-12 12:56:06


Jorge Suit Perez Ronda wrote:
> I try this:
>
> import feature : feature ;
>
> feature variety
> : we wi he hi ii ce ci ti
> : optional composite link-incompatible ;
>
> feature.compose <variety>we : <define>CONFIG_VAR_WE <define>NDEBUG ;
> feature.compose <variety>wi : <define>CONFIG_VAR_WI <define>NDEBUG ;
> feature.compose <variety>he : <define>CONFIG_VAR_HE <define>NDEBUG ;
> feature.compose <variety>hi : <define>CONFIG_VAR_HI <define>NDEBUG ;
> feature.compose <variety>ii : <define>CONFIG_VAR_II <define>NDEBUG ;
> feature.compose <variety>ce : <define>CONFIG_VAR_CE ;
> feature.compose <variety>ci : <define>CONFIG_VAR_CI ;
> feature.compose <variety>ti : <define>CONFIG_VAR_TI ;
>
> and after invoking
>
> bjam mps link=static variety=ci
>
> I got:
>
> /usr/local/src/Build/boost-build/build/property.jam:265: in validate1
> from module property
> error: Invalid property '<variety>ci': unknown feature 'variety'.
> /usr/local/src/Build/boost-build/build/property.jam:273: in
> property.validate from module property
> /usr/local/src/Build/boost-build/build/build-request.jam:176: in
> convert-command-line-element from module build-request
> /usr/local/src/Build/boost-build/build/build-request.jam:138: in
> build-request.from-command-line from module build-request
> /usr/local/src/Build/boost-build/build-system.jam:162: in load from
> module build-system
> /usr/local/src/Build/boost-build/kernel/modules.jam:261: in import from
> module modules
> /usr/local/src/Build/boost-build/kernel/bootstrap.jam:132: in
> boost-build from module
> /usr/local/src/Build/boost-build/boost-build.jam:1: in module scope from
> module
>
> any suggestion?

i'm not sure, it seems like your code was not interpreted. it should be
in any of parent projects jamfile (or in site-config, etc...)


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