Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost-build] question about names of sources passed to generator rule
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-25 06:37:44


On Friday 24 July 2009 Gaydov Victor wrote:

> >index.html : [ path.glob-tree $(CORE)/Src : *.hpp ]
> $(CORE)/Src contains Component/Interface/Sched.hpp so index.html depends on it
>
> okay, i've attached an example
> the problem appears when one sub-project use files from another (so it should be at least 3 project-roots)
> maybe it is incorrect ?
>
> run bjam -an and you'll see in doxygen generator output:
> INPUT = "inc/1.hpp"
>
> instead of
> INPUT = "/path/to/inc/1.hpp"
>
> ps. as i understand there are no problems with doxygen, wrong path is passed to its generator

Victor,

I have examined your testcase, and it appears this is not issue with dependencies on
other projects, or some such. It's just the fact that doxygen support is not very
robust when you are building from the directory different from the one where the
'doxygen' rule is invoked. A couple of issues are:

1. Documentation is generated to 'pwd`/html -- not in the directory where doxygen
rule is invoked.

2. The input sources are wrong.

I've fixed (1) and will commit as soon as svn maintenance is over. Unfortunately,
(2) is a bit tricker to fix. I don't have an estimate when a fix will be available,
and suggest you file a bug and then build documentation from the same directory
where doxygen rule is invoked.

- Volodya


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