Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-05 06:50:19

On Friday 05 May 2006 14:34, Noam Tamim wrote:

> I tried adding a feature to user-config.jam:
> import feature : feature ;
> feature platform : : free ;
> and conditionally specify other requirements based on that in the Jamfile:
> lib PortingLayer : <platform>Win32:<include>Win32
> <platform>PocketPC:<include>PocketPC
> etc... But it doesn't seem to work. It looks like the platform feature is
> being ignored.
> What am I missing? Please help.

I believe that for this to work, you'd need to remove the "free" attribute
from your new feature, and to specify the possible names. The free features
are mostly used for low-level things like includes and defines, so they can't
used in condition in conditional requirements.

- Volodya

Vladimir Prus
Boost.Build V2:

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