Boost logo

Boost-Build :

Subject: Re: [Boost-build] Reporting include paths for a project
From: foster brereton (fosterb+boost_at_[hidden])
Date: 2013-11-14 23:29:35


This will tend to vary file-to-file, especially with projects that
have multiple dependencies.

One thing you can do is pass the -d2 flag to b2 during the build. This
will echo the command used to compile a given translation unit, which
will include the paths passed:

> b2 -d2

Hope that helps,

-foster

On Thu, Nov 14, 2013 at 12:11 PM, Mateusz Loskot <mateusz_at_[hidden]> wrote:
> Hi,
>
> TLTR:
> Is it possible to list all include paths for a project using
> Boost.Build command?
>
> Boost.Build parses Jamfiles of a project.
> Boost.Build knows all (accumulated) requirements as they are specified in
> all Jamfiles found in a project tree
>
> I wonder, would it be a good idea to add some options for the Boost.Build
> command to list all include paths determined as used/configured in a project.
>
> For example:
>
> $ cd hello-world
> $ b2 --list-include-paths
> /usr/include
> /home/mloskot/src/boost
> /home/mloskot/dev/hello-world/include
>
> Or, is such feature already there?
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


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