MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0015517 | CMake | Documentation | public | 2015-04-16 11:01 | 2015-11-02 09:13 | |||||
Reporter | legalize | |||||||||
Assigned To | ||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | duplicate | |||||||
Platform | All | OS | All | OS Version | All | |||||
Product Version | CMake 3.2.2 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0015517: 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. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2015-04-16 11:01 | legalize | New Issue | ||||||||
2015-04-16 11:29 | Nils Gladitz | Note Added: 0038533 | ||||||||
2015-04-16 12:29 | legalize | Note Added: 0038534 | ||||||||
2015-04-16 12:31 | Brad King | Relationship added | duplicate of 0015222 | |||||||
2015-04-16 12:32 | Brad King | Status | new => resolved | |||||||
2015-04-16 12:32 | Brad King | Resolution | open => duplicate | |||||||
2015-11-02 09:13 | Robert Maynard | Note Added: 0039776 | ||||||||
2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|