| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0011688 | CMake | Documentation | public | 2011-01-12 07:36 | 2011-01-31 15:59 | ||||
| Reporter | Marcel Loose | ||||||||
| Assigned To | Brad King | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake 2.8.3 | ||||||||
| Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||||||
| Summary | 0011688: Update/clarify documentation of TRY_COMPILE and CheckC(XX)SourceCompiles | ||||||||
| Description | The names of the macros TRY_COMPILE and CheckC(XX)SourceCompiles suggest that only compilation is performed. However, under the hood a CMakeLists.txt file is generated containing an ADD_EXECUTABLE() statement. Hence, linking is also performed. This should be documented more clearly. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0024614) Brad King (manager) 2011-01-12 08:17 |
The documentation already provides a sample CMakeLists.txt file that the command generates, and it includes add_executable. This is a common misconception (due to the name of the command) so it doesn't hurt to state the behavior even more explicitly: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4da2a568 [^] |
|
(0024671) Marcel Loose (developer) 2011-01-14 03:45 |
What about the documentation of CheckC(XX)SourceCompiles? |
|
(0024672) Brad King (manager) 2011-01-14 08:09 |
Oops. Done: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cabb6cd0 [^] |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-01-12 07:36 | Marcel Loose | New Issue | |
| 2011-01-12 08:10 | Brad King | Assigned To | => Brad King |
| 2011-01-12 08:10 | Brad King | Status | new => assigned |
| 2011-01-12 08:17 | Brad King | Note Added: 0024614 | |
| 2011-01-12 08:18 | Brad King | Status | assigned => closed |
| 2011-01-12 08:18 | Brad King | Resolution | open => fixed |
| 2011-01-14 03:45 | Marcel Loose | Note Added: 0024671 | |
| 2011-01-14 03:45 | Marcel Loose | Status | closed => feedback |
| 2011-01-14 03:45 | Marcel Loose | Resolution | fixed => reopened |
| 2011-01-14 08:09 | Brad King | Note Added: 0024672 | |
| 2011-01-14 08:09 | Brad King | Status | feedback => closed |
| 2011-01-14 08:09 | Brad King | Resolution | reopened => fixed |
| 2011-01-31 15:59 | David Cole | Fixed in Version | => CMake 2.8.4 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |