Re: common.copy target location

Steven Watanabe via Boost-build <[email protected]>
Newsgroups gmane.comp.lib.boost.build
Organization Providere Consulting, Inc.
Message-ID <[email protected]>
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
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.