Boost logo

Boost-Build :

Subject: [Boost-build] How to run a program generating .qbk files before quickbook ?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2015-07-31 10:53:40


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
  :
    fixed_point.qbk
  :
    <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?

Thanks

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830

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