Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-09-18 09:16:16


Reece Dunn <msclrhd_at_[hidden]> writes:

> Victor A. Wagner Jr. wrote:
>
>> shouldn't a build system notice when the compiler has changed by itself?
>
> How do you detect this? What you are suggesting *would* be nice, but I
> don't see an easy way to do this, for the simple reason that you would
> need to check all of the files in the compiler directory and add those
> timestamps to all the files that were built...

It's not out of the question. I believe Scons does that. At least it
was part of the original design.

> That said, there are ways to make your life easier. The build system
> allows you to pass in -a to do a rebuild. So, you could do:
> bjam -a release msvc-8.0
> to force a rebuild. I know that with the regression tests, they are
> calling bjam from a Python script. Does this allow you to do a rebuild
> by passing -a to bjam? Or even a clean?
>
> When BB moves over to Python (what is the status of this, btw?

I wish I knew.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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