[cmake-developers] Adding MacroWriteBasicCMakeVersionFile.cmake file to cmake ?
Brad King
brad.king at kitware.com
Fri Jul 29 18:00:37 EDT 2011
On 07/29/2011 12:04 PM, Alexander Neundorf wrote:
> On Thursday 07 July 2011, Alexander Neundorf wrote:
>> I think everything else are special cases, at least I can't think of other
>> generic cases.
>> How could another common scheme look like ?
>
> Any ideas ?
Huh. I thought I responded to this one already but now I can't find it.
Another common scheme is to say that a version is compatible if the
major version number matches and incompatible otherwise. I'm not
saying we have to try to include every common scheme. I think just
the basic one you proposed originally is sufficient. However, I'd
like to come up with a name for it that will distinguish it from
other schemes added in the future. Any ideas for a name?
> Beside that, attached is a modified version which now also fails if
> SIZEOF_VOID_P of the installed version differs from the current on.
Nice.
-Brad
More information about the cmake-developers
mailing list