[CMake] lexical comparison of cmake version numbers

Alexander Neundorf a.neundorf-work at gmx.net
Fri Sep 22 03:34:05 EDT 2006


-------- Original-Nachricht --------
Datum: Fri, 22 Sep 2006 00:22:55 -0700
Von: "Brandon J. Van Every" <bvanevery at gmail.com>
An: cmake <cmake at cmake.org>
Betreff: Re: [CMake] lexical comparison of cmake version numbers

> 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 :-)

Bye
Alex


-- 
NEU: GMX DSL Sofort-Start-Set - blitzschnell ins Internet!
Echte DSL-Flatrate ab 0,- Euro* http://www.gmx.net/de/go/dsl


More information about the CMake mailing list