Subject: Re: [Boost-build] How to run a program generating .qbk files before quickbook ?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2015-07-31 12:56:41
On 31/07/2015 15:53, Paul A. Bristow wrote:
> I need to (re-)generate some tables as *.qbk files before building the documentation proper.
> # Generate Quickbook tables of types and their numeric_limits.
> run fixed_point_types_table.cpp ;
> writes the files
> How do I ensure that
> 1 The files are only re-generated when the source .cpp has changed ( been edited).
> 2 The files are written before the main Quickbook is processed to xml with
> xml fixed_point
> <dependency>autodoc # doxygen
> I looks as though I need a <dependency>
> but I can't see what the target would be called.
> 3 I may have more than one .cpp file to run. How can I run all the .cpp in the (doc/) folder?
Put them in a test_suite wrapper and then add that as a dependency, as
in this Jamfile:
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