[CMake] Manual version vs CMake version

Philip Lowman philip at yhbt.com
Sat Feb 6 23:14:17 EST 2010


On Fri, Feb 5, 2010 at 4:31 PM, Mateusz Loskot <mateusz at loskot.net> wrote:
> Bill Hoffman wrote:
>> Eric Noulard wrote:
>>
>>> That's true, may be the site could indicate that the doc is for latest
>>> 2.6.x serie.
>>> However the most trustfull way to check the doc of your current cmake
>>> version is the command line.
>>>
>>> cmake --help-command if
>>>
>>> should give you the doc for the cmake version you are using.
>>>
>>> if you want html you can use:
>>>
>>> cmake --help-html > cmake-doc.html
>>>
>>> then browse the cmake-doc.html file.
>>
>> Or cmake --version.
>
> Yes, all this is true and I've managed to find a solution myself quite
> easily, but I've posted as from position of an average
> (read, rather lazy) user who preferes pretty website to read doc
> than dark console  :-)

Also, it might not be a bad idea to mention the version number within
the documentation when features are added, especially if features are
going to be added during a patch release.

The same should probably be true of new find modules.

-- 
Philip Lowman


More information about the CMake mailing list