Boost logo

Boost-Build :

Subject: Re: [Boost-build] selecting Python version for Boost.Python
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-02-06 21:05:46


AMDG

On 02/06/2018 01:53 PM, Stefan Seefeld via Boost-build wrote:
>
> Trying to figure out what the "tag rule" is and how to change (I assume
> "override" ?) it, I find
> https://github.com/boostorg/python/blob/develop/build/Jamfile#L110-L111.
> Can you explain the meaning of those two lines ? (In particular, the
> second line, featuring "...python-tag".)
>

The -<tag> line removes the <tag> that was set in
Jamroot. python-tag is a function defined in
boostcpp.jam. (It's imported into Jamroot. The
ugly mess with BOOST_JAMROOT_MODULE is to handle
scoping rules.) Actually <tag>@python-tag would
also work because rules are inherited from parent projects.
(The -<tag> line can't be changed because -<property>
is very fragile and relies an exact textual match)

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