Boost logo

Boost-Build :

Subject: Re: [Boost-build] project requirements in Jamroot --- how to make sure they propagate to sub-projects and other dependencies
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-01-11 06:38:55


Thorsten Ottosen skrev:
> Konstantin Litvinenko skrev:
>> Thorsten Ottosen пишет:

>> Define composite feature:
>>
>> feature.feature secure-stl : on off : propagated composite optional ;
>> feature.compose <secure-stl>off : <define>_SECURE_SCL=0 ;
>>
>> and than use it:
>>
>> exe test : main.cpp lib1 : <secure-stl>off ;
>>
>> it will be applied to lib1 and all its dependencies.
>
> Thanks! Does this also work if I use <secure-stl> in a project rule in
> the Jamroot file?

I seems like it does. Thanks again.

-Thorsten


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