Boost logo

Boost-Build :

Subject: Re: [Boost-build] Checking that a header file is self-sufficient
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-09-30 18:19:39


On 09/30/2017 11:52 AM, Mikhail Strelnikov via Boost-build wrote:
> I think I've seen somebody (presumably Rene) posted jam code for
> checking that a header file is self-sufficient. I can't find it
> anywhere. Could somebody please send it to me again?

You just have to compile a source file that #includes the header.

This is one that I wrote a long time ago:

In Christ,
Steven Watanabe

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