Boost logo

Boost-Build :

Subject: Re: [Boost-build] common.copy target location
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-08-30 13:33:33


AMDG

On 08/30/2018 04:39 AM, Ian Emmons wrote:
>
> <snip>
> Thanks much for your help. One follow-up: I'm having trouble understanding the correct syntax for adding <relevant>. Where in the make statement does this go? The only syntax accepted by b2 that I've found so far is this:
>
> make ParliamentConfig.txt
> : $(SourceDir)/ParliamentConfig.txt
> : @common.copy

Add a ':' here.

> <relevant>toolset <relevant>variant ...
> ;
>
> but that has no effect, i.e., the results are unchanged. (I don't see the make command in the reference, so I'm having trouble understanding where these features properly fit in.)
>

You can usually at least get the signature of any rule with
b2 --help <module>.<rule>. In this case, b2 --help make.make.
I'm working on integrating this into the html docs, but it's
not quite ready yet.

> I will try refactoring the dependency order today to see if that works, but I prefer using <relevant> if possible because then the code says exactly what I'm trying to do.
>

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