Boost logo

Boost-Build :

Subject: Re: [Boost-build] Newbie: controlling build order
From: John Bito (jwbito_at_[hidden])
Date: 2009-08-17 21:05:58

A build should be specified in terms of dependencies. Listing the
three projects that way doesn't specify what is dependent. I imagine
that there is something in Base that is used by Client. If the
Jamfile in Client had something like

exe clientProg : [glob *.c ] ../Base//baseLibDependency ;

then Boost.Build would assure that baseLibDependency target in the
Base project (specified by the Jamfile in ../Base relative to Client)
is built before attempting to build clientProg. This is what
Boost.Build does better than most build systems.

If you don't want to specify the actual dependencies, use make.

On Mon, Aug 17, 2009 at 09:30, Avi Bahra<avibahra_at_[hidden]> wrote:
> Is there any way to control the bjam build order ?
> In my Jamroot.jam I have:
> build-project Base ;
> build-project Server ;
> build-project Client ;
> I assume that build order was Base, Server,Client.
> but bjam does not follow this!
> --
>   Best regards,
> Ta,
>    Avi
> _______________________________________________
> Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at