Boost logo

Boost-Build :

From: andre_genereux01 (andre_genereux01_at_[hidden])
Date: 2005-09-27 11:23:50


I'm in the process of piloting Boost Build V2 for use in the company I
work for. We have a source structure similar to the following:

project-|
|-shared_code
|-project_a
|-project_b
|-project_c
|...

I'm piloting Boost Build V2 in, say, Project A. I've got all of the
Jamfiles for Project A set up, with a Jamroot in the project_a
directory. I also want to use the shared libraries. Eventually, if all
goes well, everything will be switched over to Boost Build V2, so I've
created a "mock" shared Boost Build project in the form of a single
Jamroot file which contains library declarations for all of the shared
libraries (as well as required includes).

The problem is this. In my Project A Jamroot file I've got the
following line:

use-project shared : ~/mockshare ;

where ~/mockshare contains my mock shared project. This gives me an
error because there is no Jamfile in ~/mockshare (even though there IS
a Jamroot).

Now, my first question would be, is this the correct way to access an
external project?

Second, should Boost Build not be able to see Jamroot files as
Jamfiles? Am I going to have to switch to the Jamfile/project-root.jam
structure?

Andre Genereux

 


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