Boost logo

Boost-Build :

Subject: Re: [Boost-build] Getting a list of include files for a target in a jam file.
From: Vladimir Prus (ghost_at_[hidden])
Date: 2013-07-11 02:42:12

On 11.07.2013 10:11, Stephen Hewitt wrote:
> I'm new to Boost.Build and am using it as a build system for Sublime Text 2. Everything is building just fine without any trouble. I’m
> trying to add a go-to-header function and can find no easy way to extract the list of include directories for a particular variant. Is there
> a way to do this?


there's no easy way. Things are complicated by the fact that include directories can be different not only by build variant,
but also by metatarget.

It's kinda possible to extract this information by passing the --debug-building option, which will print properties with which
every metatarget is generated. Please give it a try and tell whether the information is there - in which case it might be
possible to generate a more friendly output.


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