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?

Thanks,
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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