The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15517 ====================================================================== Reported By: legalize Assigned To: ====================================================================== Project: CMake Issue ID: 15517 Category: Documentation Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-04-16 11:01 EDT Last Modified: 2015-04-16 11:01 EDT ====================================================================== Summary: documentation should give introducing version Description: When writing a CMakeLists.txt, I might be using commands that are beyond the minimum required version written in the CMakeLists.txt, but not realize it because I have a later version than the required version installed.
I ran into this because I had CMake 2.8.10.2 installed, with a CMakeLists.txt that said cmake_minimum_required(VERSION 2.8) and used target_include_directories which isn't an available command in version 2.8.10.2. So I looked at the documentation for the command, but it doesn't say in which version the command was introduced. If I knew the minimum version of CMake containing this command, then I could adjust the CMakeLists.txt to specify the true minimum required. Even better would be if this information were available in machine-readable format, then I could write a 'lint' tool for my CMakeLists.txt that would flag this as an error when my minimum version is too low for the commands I'm using. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-04-16 11:01 legalize New Issue ====================================================================== -- 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-developers
