Boost logo

Boost-Build :

Subject: Re: [Boost-build] Generating plain Doxygen documentation
From: Marek Bálint (marek.balint_at_[hidden])
Date: 2009-11-15 14:59:47

thank you for quick answer. It definitely helps, but still, I would need
little more sophisticated doxygen invocation. Is there some way how to do
this exactly the same way, but portably (e.g. there is no doxygen, but
doxygen.exe on win platforms, and no pipes also)? The only thing that comes
to my mind is conditional invocation of @doxygen-unix or @doxygen-win - is
there other (better, automatic) way?

constant VERSION : 1.0.0 ;

import notfile ;

notfile doc : @doxygen ;

actions doxygen
  ( cat Doxyfile ; echo "PROJECT_NUMBER=$(VERSION)" ) | doxygen -

I was looking at doxygen.jam module and its run rule, but I am missing
something (and it also seems to solve only half of the problem above - does
not solve pipes and shell commands):

import doxygen ; doc : Doxyfile ;

$ bjam doc
/usr/share/boost-build/tools/doxygen.jam:240: in
*** argument error
* rule path.make ( native )
* called with: ( )
* missing argument native
/usr/share/boost-build/util/path.jam:46:see definition of rule 'make' being
Jamroot:106: in modules.load
/usr/share/boost-build/build/project.jam:312: in load-jamfile
/usr/share/boost-build/build/project.jam:68: in load
/usr/share/boost-build/build/project.jam:170: in project.find
/usr/share/boost-build/build-system.jam:248: in load
/usr/share/boost-build/kernel/modules.jam:261: in import
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
/usr/share/boost-build/boost-build.jam:1: in module scope


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