$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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