[CMake] lexical comparison of cmake version numbers
Brandon J. Van Every
bvanevery at gmail.com
Fri Sep 22 03:59:37 EDT 2006
Alexander Neundorf wrote:
> Von: "Brandon J. Van Every" <bvanevery at gmail.com>
>
>
>> Alexander Neundorf wrote:
>>
>>> Von: "Brandon J. Van Every" <bvanevery at gmail.com>
>>>
>>>
>>>
>>>> I would like more direct access to the CMake version number, and the
>>>> ability to make easy lexical comparisons between version numbers.
>>>>
>>>>
>>> Since cmake 2.4.3 you can use CMAKE_PATCH_VERSION. CMAKE_MINOR_VERSION
>>>
>> and CMAKE_MAJOR version existed already before.
>>
>>>
>>>
>> Thank you much for this info, Alex.
>>
>> But, holy !$%!%$!#@%#%. This is infuriating! I chew up my evening
>> reinventing the wheel, because this stuff ISN'T IN THE DOCS, and ISN'T
>> ON THE WIKI "USEFUL VARIABLES" PAGE!
>>
>
> Sorry that I didn't get around to add it there...
> But you know, it's a Wiki :-)
>
They're there now, I added them. Of course, people can't add things
they don't know about. Which reminds me: is there a variable that has
major.minor.patch all together? i.e. "2.4.3"
Cheers,
Brandon Van Every
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060922/ba18fe5c/attachment.htm
More information about the CMake
mailing list