Boost logo

Boost-Build :

Subject: Re: [Boost-build] #include with macro
From: Phillip Seaver (phil_at_[hidden])
Date: 2016-09-27 17:03:01


On 9/27/16 7:10 AM, Rene Rivera wrote:
> On Mon, Sep 26, 2016 at 2:49 PM, Phillip Seaver <phil_at_[hidden]
> <mailto:phil_at_[hidden]>> wrote:
>
> I'm compiling FreeType with boost-build. It has many includes
> like this
> "#include FT_ERRORS_H" There's a file that defines those macros. It
> looks like the underlying bjam code has support for it (in
> hdrmacro.c &
> headers.c), but I don't see a way to make use of it in boost-build.
>
> Am I missing something or is it just not exposed in a boost-build way?
>
>
> Well.. Had to go investigate that one since I didn't remember where it
> came from and is not used/exposed. Best explanation I found is from
> where the extension came from, FTJam
> <http://freetype.sourceforge.net/jam/changes.html#builtin-hdrmacro>.

It would be really helpful if I could use it. boost-build doesn't
recognize that it needs to rebuild files when one of those header
changes, so we have to rebuild it manually.

Any suggestions on a work-around or a way to use that feature?

Thanks,

Phillip


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