[cmake-developers] [CMake 0012148]: CMake docs about CMAKE_BUILD_TYPE uses wrong case for variables

Mantis Bug Tracker mantis at public.kitware.com
Tue May 3 12:30:48 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12148 
====================================================================== 
Reported By:                Stephen Kelly
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12148
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-05-03 12:30 EDT
Last Modified:              2011-05-03 12:30 EDT
====================================================================== 
Summary:                    CMake docs about CMAKE_BUILD_TYPE uses wrong case
for variables
Description: 
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_BUILD_TYPE

I added this to my CMakeLists.txt:

MESSAGE("TTTTTTTTT" ${CMAKE_C_FLAGS_Release} " -- " ${CMAKE_CXX_FLAGS_Release})

And it didn't work until I changed it to this:

MESSAGE("TTTTTTTTT" ${CMAKE_C_FLAGS_RELEASE} " -- " ${CMAKE_CXX_FLAGS_RELEASE})

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-03 12:30 Stephen Kelly  New Issue                                    
======================================================================




More information about the cmake-developers mailing list