-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Edward Diener Sent: Monday, January 20, 2014 5:00 AM To: boost@lists.boost.org Subject: Re: [boost] bjamming that used to work before modular-boost
On 1/19/2014 9:38 AM, Paul A. Bristow wrote:
I have a jamfile.v2 in a sandbox project that used to work before.
I have started using modular-boost, and after some fumbling, I'm using that OK-ish.
Suggestions please.
Here are my suggestions from what I do with my own libraries which use Boost:
1) Change the structure of your library for modular-boost rather than the old SVN structure.
2) Move your library into the modular-boost build tree under the 'libs' subdirectory.
3) Make a symbolic directory link under the modular-boost 'boost' subdirectory to your header files directory within 'libs'.
4) Get rid of any top-level jamfile for your library. Once you are within modular-boost the particular jamfiles for tests and docs should just work.
5) Forget about --boost= stuff on your b2 invocation since you are within the modular-boost tree.
This works for me. I hope it will work for you.
Sounds good - I've used new structure for new projects. But that's a very helpful guide to moving old ones. Thanks Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com