MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015149 | CMake | Documentation | public | 2014-09-10 18:50 | 2015-03-02 08:57 |
Reporter | sleske | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | text | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.0.1 | ||||
Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | ||
Summary | 0015149: Document that the CHECK_* macros create cache variables | ||||
Description | The various CHECK_* macros (CHECK_C_COMPILER_FLAG, CHECK_FORTRAN_FUNCTION_EXISTS Etc.) set a result variable whose name is specified as a parameter. However, the macros do not document that the result variable is created as a cache variable. While this is probaby obvious to experienced CMake users, it can be confusing for newbies. For example, calling multiple CHECK_* macros with the same result variable will not work as expected, because the variable is only set once. This should be documented. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/5253/cmake-check-doc.diff | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-09-10 18:50 | sleske | New Issue | |||
2014-09-10 18:51 | sleske | File Added: cmake-check-doc.diff | |||
2014-09-10 18:52 | sleske | Note Added: 0036781 | |||
2014-09-11 08:56 | Brad King | Note Added: 0036784 | |||
2014-09-11 08:56 | Brad King | Assigned To | => Brad King | ||
2014-09-11 08:56 | Brad King | Status | new => resolved | ||
2014-09-11 08:56 | Brad King | Resolution | open => fixed | ||
2014-09-11 08:56 | Brad King | Fixed in Version | => CMake 3.1 | ||
2014-09-11 08:56 | Brad King | Target Version | => CMake 3.1 | ||
2015-03-02 08:57 | Robert Maynard | Note Added: 0038113 | |||
2015-03-02 08:57 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|