[CMake] Adding Cmake version in online documentation

Dvir Yitzchaki Dvir.Yitzchaki at ceva-dsp.com
Tue Nov 8 09:11:22 EST 2016


But how do you know which version to declare on cmake_minimum_required?
If this feature will be added it won't be far from writing a script that scans the commands you use and outputs the first appropriate version.

Regards,

Dvir    

-----Original Message-----
From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of Nils Gladitz
Sent: Tuesday, November 08, 2016 3:37 PM
To: Louis-Paul CORDIER <lp.cordier at dynamixyz.com>; Cmake Mailing List <cmake at cmake.org>
Subject: Re: [CMake] Adding Cmake version in online documentation

On 11/08/2016 10:57 AM, Louis-Paul CORDIER wrote:

> Hi,
>
> This is a feature proposal for the documentation. Cmake is making use 
> of cmake_minimum_required() command, that is very useful.
> Unfortunately it is very hard to identify commands that will work 
> without browsing all version of cmake documentation for a given command.
>

This has been brought up for discussion more than once e.g.:
     https://public.kitware.com/Bug/view.php?id=15517
     https://public.kitware.com/Bug/view.php?id=15222
     http://public.kitware.com/pipermail/cmake/2016-April/063306.html

Personally I still don't think this needs change.
You don't have to browse all versions of the documentation ... you only 
have to work with the documentation that matches the version you 
declared in cmake_minimum_required().

Nils
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


More information about the CMake mailing list