|
Boost-Build : |
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2008-07-14 02:50:28
Hi.
> WM> I would like to know how to manage projects dependencies For instance i
> WM> have one project (A) which requires another(B) to be build before it
> WM> builds. As (B) is not a library but a python extension i can't use the
> WM> typical /project//target so i would like to if there is another way to
> WM> create dependencies between projects.
>
> exe B : b.cpp ;
> exe A : a.cpp : <dependency>B ;
>
> This will build B before A.
You should check the docs though (I believe it is the ones related to
adding a custom target/generator - 'verbatim' files or something like
that). As I recall there is a bug with this feature and you sometimes
need to use a lower level 'DEPENDS' Boost Jam rule to make this work.
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