From: David Mack (dmtbone_at_[hidden])
Date: 2007-12-21 12:43:58
There seems to be a fair few people using bjam and, whilst it's nice there's an 'example' directory packaged with the source, I I cannot find any 'non-trivial' examples of bjam being applied.
I'm working on a system that is compiled into multiple dlls and one executable using a ridiculously complicated make configuration. I would very much like to take a stab at using bjam to address at least parts of the system, but I'm finding it very difficult to get off the ground.
The problems I've hit against immediately are basically doing anything that involves more than a single dependency or directory of .cpp files:
1. how would you specify separate <include>s for the standard template libraries dependent on whether the system is being built on windows (VC) or linux (gcc)?
2. how would you recursively compiling a hierarchy of folders into a library (to .lib or/and .dll) ?
3. how do you link against pre-built dlls ?
I'm sure I must be missing an obvious example/resource somewhere...
Thanks for your time,
Sent from Yahoo! - a smarter inbox.
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