
Vladimir Prus <ghost@cs.msu.su> writes:
David Abrahams wrote:
Vladimir Prus <ghost@cs.msu.su> writes:
This is possible, but I'm concerned about performance implications of this. It's quite feasible to have 100, or 200 tests, running separate bjam for each one might be too slow.
You could run one bjam for all the tests
It's tricky. Say you have:
if [ configure.has-lib foo ] { }
if [ configure.has-lib bar ] { }
Them if you invoke bjam once for configuration, from 'configure.has-lib', how that configure step knows that it should check not only for 'foo' but also for 'bar', when 'has-lib' for bar is not yet called.
So, you'd have to have a separate file describing configure checks, not the above syntax. This is passable, but not ideal.
It's more important to make things work than to make them ideal. -- Dave Abrahams Boost Consulting www.boost-consulting.com