Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost-build] question about names of sources passed to generator rule
From: Gaydov Victor (victor.gaydov_at_[hidden])
Date: 2009-08-02 14:27:23

Vladimir Prus wrote:
> 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
> _______________________________________________
> Unsubscribe & other changes:
sorry for delay, thanks a lot for reply and fix
i've posted a ticket.

> and it appears this is not issue with dependencies on
> other projects, or some such
may be. in my project (as i wrote above) i have

doxygen index.html : [ path.glob-tree $(CORE)/Src : *.hpp ]

so index.html depends on many headers, but only for
headers that are targets for xml files it generates wrong paths
(that's why i posted that rules).
and after quick look at doxygen generator i didn't find where it changes
paths, so i decided that they are passed wrong when generator is invoking,
but i'm not very familiar to boost-build and it may be wrong.

i'll be without a computer for some time,
but i need this for a project, so i'll try to find the reason later if
it will not be fixed :)

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