|
Boost-Build : |
Subject: Re: [Boost-build] [jam] named arguments for rule
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-10-25 11:49:25
On 25-Oct-16 5:50 PM, aaron_at_[hidden] wrote:
> Which can then be called like so:
>
> my-rule hello.cpp : hello.tr : <some-option>some-value
> <other-option>hello_world ;
>
> It works really well as the build system supports it, however, I think
> it has a tendency
> to confuse some developers as they are already confused about
> features/properties.
> They tend to think the options passed are actually features/properties.
The same confusion happens with toolset initialization. It supports same
syntax, but the names inside <> are not actually features.
-- Vladimir Prus https://vladimirprus.com
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