Subject: Re: [Boost-build] [Boost-testing] Incremental build and changes on Jamfiles only
From: Matt Chambers (matt.chambers42_at_[hidden])
Date: 2013-01-31 10:58:48
On 1/13/2013 1:41 PM, Vicente J. Botet Escriba wrote:
> Le 12/01/13 16:17, Jürgen Hunold a écrit :
>> Hi Vicente,
>> On Saturday, 12. January 2013 13:13:02 Vicente J. Botet Escriba wrote:
>> Theoretically, yes. But as full builds tend to run very long on certain
>> platforms, this might reduce the testing frequency a lot. And "basic" settings
>> like defines and flags don't change as often as implementation code.
> Agreed again.
> One alternative: Couldn't Boost.Build warn the user when one of the Jamfiles have been changed if an
> incremental build is done?
I've been bitten by this bug|feature (separated by a thin line) as well. Perhaps instead of a
warning the default behavior should be to not allow an incremental build if the Jamfiles have
changed (i.e. a fatal error that says to rerun with "-a" and possibly a new switch that turns off
this behavior). So if the Jamfiles are newer than the intermediate files, it would warn or die. I
think this would greatly reduce the number of link errors that people see when they are tweaking
their Jamfiles, and not just for Boost!
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