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:
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