Alexander Neundorf wrote:
Von: "Brandon J. Van Every" <[EMAIL PROTECTED]>

  
Alexander Neundorf wrote:
    
Von: "Brandon J. Van Every" <[EMAIL PROTECTED]>

  
      
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 [EMAIL PROTECTED]  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

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to