|
Boost-Build : |
Subject: [Boost-build] [boost-build] question about names of sources passed to generator rule
From: Gaydov Victor (victor.gaydov_at_[hidden])
Date: 2009-07-24 07:54:29
sorry for strange subj.
in one subproject i have:
using doxygen ;
doxygen index.html
: [ path.glob-tree $(CORE)/Src : *.hpp ]
: <location>$(CORE)/Doc/Html/Dev/Ref
<doxygen:param>"INCLUDE_PATH=$(CORE)/Src"
<doxygen:param>"WARN_IF_UNDOCUMENTED=NO"
;
in another subproject (in $(CORE)/Src) i have:
...........................................................
for local i in [ glob Component/Interface/*.hpp ]
{
xml Proxy/$(i:D=:S=).xml : $(i) : <xml>proxy ;
hpp Proxy/$(i:D=:S=).hpp : Proxy/$(i:D=:S=).xml : <xml>proxy ;
cpp Ccall/$(i:D=:S=).cpp : Proxy/$(i:D=:S=).xml : <xml>proxy ;
h Ccall/$(i:D=:S=).h : Proxy/$(i:D=:S=).xml : <xml>proxy ;
REQUIRE += <implicit-dependency>Proxy/$(i:D=:S=).hpp ;
CCALL += <source>Ccall/$(i:D=:S=).cpp ;
}
REQUIRE += <implicit-dependency>Component/List.hpp ;
hpp Component/List.hpp
: [ glob Component/Interface/*.hpp ]
: <xml>list
;
...........................................................
index.html in first subproject depends on headers from second, including
Component/Interface/*.hpp
when building these subproject separately everything is ok
but when building whole project, HPP -> DOXYFILE generator gets wrong
paths for Component/Interface/*.hpp:
it should get absolute path but it get for example
"Component/Interface/Sched.hpp" (not rooted)
so INPUT line in a doxyfile contains wrong files
as i understand Component/Interface/*.hpp names are changing because
they are sources
for other files.
is it a bug or feature ?
how to let doxygen generators get absolute paths ?
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