Boost C++ Libraries: Ticket #2914: Support for cumulative parameters in a doxyfile https://svn.boost.org/trac10/ticket/2914 <p> It would be nice if it was possible to specify cumulative parameters as arguments to &lt;doxygen:param&gt;. Aliases for instance really require this. E.g.: </p> <pre class="wiki">DOXYGEN_PARAMS = ... ALIASES+=defModule{1}="\"\module{\1} \defgroup group_class_\1 \1\"" ALIASES+=module{1}="\"\ingroup group_class_\1 \\n&lt;div&gt;&lt;span class=\"module\"&gt;Module:&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span class=\"module_text\"&gt;\ref group_class_\1&lt;/span&gt;&lt;/div&gt;\"" ... ; doxygen doc.html : [ glob include/*/*.hpp ] # or whatever : &lt;doxygen:param&gt;$(DOXYGEN_PARAMS) ; </pre><p> Currently the parser chokes on the += construct; it expects = always. I have tinkered with doxygen.jam in my local BBv2 dir, but I am very unsure about the correctness of what I'm doing. FWIW here is the patch for what I currently use... </p> <pre class="wiki">Index: tools/doxygen.jam =================================================================== --- tools/doxygen.jam (revision 52181) +++ tools/doxygen.jam (working copy) @@ -197,11 +197,11 @@ # Translate &lt;doxygen:param&gt; into command line flags. for local param in [ feature.get-values &lt;doxygen:param&gt; : $(properties) ] { - local namevalue = [ regex.match ([^=]*)=(.*) : $(param) ] ; - text += "$(namevalue[1]) = $(namevalue[2])" ; + local namevalue = [ regex.match ([^+=]*)([+]?=)(.*) : $(param) ] ; + text += "$(namevalue[1]) $(namevalue[2]) $(namevalue[3])" ; if $(namevalue[1]) = OUTPUT_DIRECTORY { - output-dir = "$(namevalue[2])" ; + output-dir = "$(namevalue[3])" ; } } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2914 Trac 1.4.3 René Rivera Thu, 04 Mar 2010 16:22:24 GMT owner, milestone changed https://svn.boost.org/trac10/ticket/2914#comment:1 https://svn.boost.org/trac10/ticket/2914#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Vladimir Prus</span> to <span class="trac-author">René Rivera</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.39.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket