Boost logo

Boost-Build :

Subject: Re: [Boost-build] Generate txt file from b2
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-06-19 15:56:08


On 06/18/2017 01:14 AM, Norbert Wenzel via Boost-build wrote:
> So is there some way to make b2 generate text files without resorting to
> external tools to make this trivially portable across platforms
> (assuming the same version of Boost.Build on all those platforms)?

Use the print module to define the action.

You can find an example here:

It looks like the documentation doesn't show anything
about this, but there's some internal documentation
(accessible via `b2 --help print`). The rules you'll
need are print.output and print.text.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at