On Fri, Jun 11, 2004 at 10:02:49AM +0400, Vladimir Prus wrote:
> Bart Garst wrote:
> > I wrote a Jamfile.v2 that extracts documentation from the source files
> > (I'm working with the date_time library). I have it tucked away in:
> > boost_root/libs/date_time/xmldoc
> >
> > It works like expected when `bjam --v2` is run from that directory. I also
> > have the xml output it generates incorporated into the boostbook output
> > (when bjam is run from boost_root/doc ).
> >
> > My question is:
> > Is it possible to have bjam re-generate the doxygen-xml, using my
> > Jamfile.v2, when invoked from boost_root/doc ?
>
> I think so. The doc/Jamfile.v2 in current CVS contains the following:
>
> # The <dependency> below allows Boost.Build to see Doxygen
> # main target, which is necessary to correctly build
> # documentation
> boostbook doc : src/boost.xml
> : <dependency>../libs/program_options/doc//autodoc.xml
>
> I believe if you make a similiar entry for date_time it should work.
>
> For reference, here's Jamfile for program_options:
> import toolset ;
> toolset.using doxygen ;
>
> boostbook program_option : program_options.xml ;
>
> doxygen autodoc
> : [ glob ../../../boost/program_options/*.hpp ] ;
>
> If you use different target name that "autodoc", you'd need to adjust
> reference in main Jamfile.
>
Hi,
I'm trying to do similar thing. However I need to specify input files explicitly.
Here is my Jamfile.v2:
import toolset ;
toolset.using doxygen ;
import path ;
boostbook string_algo : string_algo.xml ;
doxygen autodoc
:
../../../../boost/algorithm/string.hpp
../../../../boost/algorithm/string_regex.hpp
../../../../boost/algorithm/string/case_conv.hpp
:
<doxygen:param>HIDE_UNDOC_MEMBERS=YES
<doxygen:param>EXTRACT_PRIVATE=NO
<doxygen:param>ENABLE_PREPROCESSING=YES
<doxygen:param>MACRO_EXPANSION=YES
<doxygen:param>EXPAND_ONLY_PREDEF=YES
<doxygen:param>SEARCH_INCLUDES=YES
<doxygen:param>PREDEFINED="BOOST_STRING_TYPENAME=typename
\"BOOST_STATIC_CONSTANT(type,var)=static const type var;\""
;
Everything works fine, when I build from a local directory. But when I try to build
from main documentaion
dir I get errors like this:
XXX
...found 89 targets...
...updating 7 targets...
doxygen-action ..\bin.v2\libs\algorithm\string\doc\msvc\debug\autodoc.xml
Error: tag INPUT: input source `..\..\..\..\boost\algorithm\string.hpp' does not exist
xslt-xsltproc ..\bin.v2\libs\algorithm\string\doc\msvc\debug\autodoc.doxygen
xslt-xsltproc ..\bin.v2\libs\algorithm\string\doc\msvc\debug\autodoc.boostbook
It seems, that doxygen cannot find the source file.
What do I do wrong?
Regards,
Pavol
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Boost-docs mailing list
[EMAIL PROTECTED]
Unsubscribe and other administrative requests:
https://lists.sourceforge.net/lists/listinfo/boost-docs