Boost logo

Boost-Build :

Subject: Re: [Boost-build] feature, properties, variants, and all the rest
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-09-29 18:58:06


On 09/29/2017 12:33 PM, Stefan Seefeld via Boost-build wrote:
> On 29.09.2017 14:20, Steven Watanabe via Boost-build wrote:
>> - It can scan headers that are generated during the build.
> and so can a compiler-based approach.

I don't know any perfect way to handle this.

It's impossible to complete the scan before
building all the headers that are required.
It's also impossible to determine which headers
are required before scanning.

The solutions I know are:
- Build all headers early (regardless of whether they're needed or not)
- Iterate scanning/building the required headers until
  it succeeds. (watch out for race conditions)

In Christ,
Steven Watanabe

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