Boost logo

Boost-Build :

Subject: Re: [Boost-build] How do I pass cxxflags to Boost libraries from within my jamfile?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-10-29 12:25:55


AMDG

On 10/29/2013 08:30 AM, Foster Brereton wrote:
> Setting up the feature worked, thank you. I am curious still what I did not
> understand about aliases? I got the impression I was using them as intended.
>

Features can have several attributes, one of which is
"propagated." Only propagated features are passed on
to dependencies. An alias is no different from any
other target in this respect. The example you showed
from the docs works because <link> is a propagated feature.
The feature that you just created is propagated, so it
would also work in an alias. <cxxflags> is not propagated,
so it only applies to the alias target itself, which
does nothing.

In Christ,
Steven Watanabe


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