Boost logo

Boost-Build :

Subject: [Boost-build] Recursive bjam (or equivalent) solution?
From: David Abrahams (dave_at_[hidden])
Date: 2009-01-23 15:38:39


Hi,

Our literate programming framework allows us to generate a Jamfile and a
bunch of source files from an input .rst file. For example, I might

  $ python ~/src/boost/tools/litre/tool.py \
         ~/src/boost/libs/parameter/doc/index.rst \
         --dump_dir=~/src/boost/libs/parameter/test/literate

to generate a project in ~/src/boost/libs/parameter/test/literate. I
can then

  $ cd ~/src/boost/libs/parameter/test/literate
  $ bjam

To run all the tests. What I'd really like is for that directory to get
extracted and tested during the regular Boost test suite, so I don't
have to check in these generated files and keep them up-to-date with the
actual docs. Is there a way?

TIA,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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