Boost logo

Boost-Build :

Subject: Re: [Boost-build] override 'feature' in project 'requirements'
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-04-28 11:32:52


AMDG

Steve Jaffe wrote:
> This seems like it should be simple but I haven't figured out a way to do it:
> Specifically, I have a project and in 'requirements:' I have <warnings>off.
>
> I want to be able to override this, but putting warnings=on on the command
> line doesn't work because the requirements take precedence.
>
> How can I have the default build with warnings=off yet allow the user to
> turn warnings on?
>

Use

default-build <warnings>on

instead of

requirements <warnings>on

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