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

Brad King brad.king at kitware.com
Tue May 1 15:46:06 EDT 2012


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:

   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



More information about the cmake-developers mailing list