Boost logo

Boost-Build :

Subject: [Boost-build] [build] Compiler requirement for a header only library
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-04-25 18:25:05

I have a header only library, which needs a particular compiler
requirement to be set when the library's header files are included. I do
not want to have to change the jam file for every library which uses my
library. Is there a way to do this with Boost Build so that any library
which includes one of my library's header files has the particular
option for the particular compiler set properly. I do know about
conditional requirements in Boost Build but I do not understand how a
particular jamfile in a header directory can enforce such an option for
other libraries.

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