[cmake-developers] [CMake 0011688]: Update/clarify documentation of TRY_COMPILE and CheckC(XX)SourceCompiles

Mantis Bug Tracker mantis at public.kitware.com
Wed Jan 12 07:36:30 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11688 
====================================================================== 
Reported By:                Marcel Loose
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11688
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Target Version:             CMake 2.8.4
====================================================================== 
Date Submitted:             2011-01-12 07:36 EST
Last Modified:              2011-01-12 07:36 EST
====================================================================== 
Summary:                    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.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-12 07:36 Marcel Loose   New Issue                                    
======================================================================




More information about the cmake-developers mailing list