Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - Jamroot/Jamfile changes
From: Anant Rao (arao_at_[hidden])
Date: 2010-01-26 17:42:12

-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Rene Rivera
Sent: Tuesday, January 26, 2010 2:35 PM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] bjam - Jamroot/Jamfile changes

Anant Rao wrote:
> Can 'bjam' detect changes to these files and do an evaluation to
> check if anything needs to be built? I assume it can't.

bjam/BBv2 can detect changes to any files. You just need to add them as
dependencies to a target. But I suspect that's not what you are asking?
BBv2 doesn't explicitly add Jamfiles as dependencies, as it's rarely
useful to depend on the build files themselves. But it does detect
change to them incidentally, as the changes usually reflect on the
targets, and their dependencies, being built.

So to really answer your question you'd have to provide more detail as
to what you are trying to accomplish. Preferably with a small sample
project for us to talk about.



Thanks for a quick reply!
The case I'm thinking of is when we change a compiler option in Jamroot (by adding/updating/deleting an option like <toolset>msvc:<variant>release:<cxxflags>/MT ),

whether 'bjam' will rebuild all the code.

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