Boost logo

Boost-Build :

Subject: [Boost-build] Injecting usage-requirements into generated targets
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2011-01-04 18:56:29

I'm trying to make a system that automatically verifies that all
header files that belong to a given Boost Build project compile when
included first in a cpp file.

I got to a point where I automatically generate a target per header
file, which uses the compile rule to test the header.

My question is, how do I inject the usage-requirements of the project
the headers belong to into each of the generated targets, so that
include folders and stuff get passed to the compiler when compiling
each individual header?

Emil Dotchevski
Reverge Studios, Inc.

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