Boost logo

Boost-Build :

From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2020-10-24 17:24:55

Hi Uri,
Yes, here’s the example I did for our VxWorks wrapper for Boost.
We cross-compile on Windows and Linux, so it just make sure the defaults from the host environment aren’t used.
The feature.feature declares a feature called cross-compile with a possible option of vxworks
The feature.compose declares what selecting the option vxworks does.

feature.feature cross-compile
    : vxworks
    : composite propagated optional ;

feature.compose <cross-compile>vxworks
  : <target-os>vxworks

From: Boost-build <boost-build-bounces_at_[hidden]> On Behalf Of Uri Moszkowicz via Boost-build
Sent: Friday, October 16, 2020 1:57 PM
To: boost-build_at_[hidden]
Cc: Uri Moszkowicz <uri_at_[hidden]>
Subject: [Boost-build] How do I specify a dependency for a feature?

I'd like to specify a dependency for a feature, like below:

feature.compose <MyFeature>yes :

Is there a way I can do this with Boost::build?


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