$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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
AMDG
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:
https://github.com/boostorg/units/blob/develop/test_headers/Jamfile.v2
In Christ,
Steven Watanabe