Boost logo

Boost-Build :

Subject: Re: [Boost-build] [doc] b2 headers
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-04-09 17:12:37


AMDG

On 04/09/2018 10:59 AM, Mateusz Loskot via Boost-build wrote:
> On 9 April 2018 at 18:49, Mateusz Loskot <mateusz_at_[hidden]> wrote:
>> On 9 April 2018 at 16:09, Rene Rivera <grafikrobot_at_[hidden]> wrote:
>>>>> "
>> target
>> All tokens that are neither options nor properties specify what
>> targets to build.
>> "
>
> b2 --toolset=gcc-5
>
> This works as expected, of course, and does it work due to this rule?
>
> "
> properties
> (...) Syntactically, all command line tokens with an equal sign in
> them are considered to specify properties.
> "
>
> IOW, equal sign has higher priority, and -- is discarded, so it is a
> property, not an option. Correct?
>

  No. -- takes priority. --toolset is a special case which
exists for backwards compatibility and is discouraged.

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