[CMake] Re: General modernization facility

Alexander Neundorf a.neundorf-work at gmx.net
Tue Dec 18 19:39:24 EST 2007


I didn't follow closely but...

On Wednesday 19 December 2007, Rodolfo Lima wrote:
> That would be a big mess, but if the script *works*, even with bad
> behavior, so be it. Maybe a warning should be emitted. The point is to
> guarantee that the script the author made will work the same way he
> intended, forever. It would be wrong if we changed the behavior the
> author relied upon.
>
> I think that this solution would let Kitware add disruptive features
> with ease.

This is wrong. This would mean that the old buggy behaviour in the code would 
have to stay in an if(version==2.4.7) block, and next to it the fixed block 
for newer versions. This is not maintainable.

Alex


More information about the CMake mailing list