[cmake-developers] Version-specific documentation pages (was: Could a cmake_maximum_required() work?)

Stephen Kelly steveire at gmail.com
Tue May 1 17:04:31 EDT 2012


Brad King wrote:

> On 4/25/2012 2:17 PM, Stephen Kelly wrote:
>> This issue came up because KDE wants to ensure that developers do not
>> accidentally use features of newer versions of CMake.
> 
> It will be helpful to reference documentation specific to the minimum
> required CMake version to avoid using features from newer versions.
> 
> We've updated the CMake documentation page to provide persistent
> version-specific CMake, CTest, and CPack documentation pages:

Cool, thanks for that. 

I wonder if it would be possible to add 'This feature was added in CMake 
x.y.z' to the documentation in feature patches in the future?

Thanks,

Steve.


> 
>    http://www.cmake.org/cmake/help/documentation.html
> 
> For example, the page for CMake 2.8.7 documents the LINK_PRIVATE
> option of target_link_libraries:
> 
>    
http://www.cmake.org/cmake/help/v2.8.7/cmake.html#command:target_link_libraries
> 
> but the page for CMake 2.8.6 does not:
> 
>    
http://www.cmake.org/cmake/help/v2.8.6/cmake.html#command:target_link_libraries
> 
> -Brad
> --
> 
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers





More information about the cmake-developers mailing list