|
Boost-Build : |
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2008-07-13 09:52:53
Hi William.
> I would like to know how to manage projects dependencies For instance i have
> one project (A) which requires another(B) to be build before it builds. As
> (B) is not a library but a python extension i can't use the typical
> /project//target so i would like to if there is another way to create
> dependencies between projects.
As I never wrote or used a 'python extension' I may be unaware of
something here but looking at it from the outside - I do not see what
would be preventing you from using the project//target syntax?
Your (B) may have a 'python extension' (from other posts I'm assuming
this is a shared library with a customized extension) but that extension
is surely built and referenced as same target by Boost Build - lets call
it target-x. Now what is preventing you from using the (B)//target-x
syntax in the (A) project's Jamfile?
If you need it as a source for some target built in (A) then simply
reference it as a source. If you just need to install it together with
(A) to be used at run-time then add an install rule for it. Or you might
be using a target from (A) as a tool for building a target in (B) which
would take some improvisation depending on your exact requirements but
I'm guessing that is not the case here.
Hope this helps.
Best regards,
Jurko GospodnetiÄ
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