[cmake-developers] [CMake 0015621]: CMAKE_GENERATOR_PLATFORM references toolset instead of platform

Mantis Bug Tracker mantis at public.kitware.com
Wed Jun 17 21:29:46 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15621 
====================================================================== 
Reported By:                Paul "TBBle" Hampson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15621
Category:                   Documentation
Reproducibility:            N/A
Severity:                   tweak
Priority:                   low
Status:                     new
====================================================================== 
Date Submitted:             2015-06-17 21:29 EDT
Last Modified:              2015-06-17 21:29 EDT
====================================================================== 
Summary:                    CMAKE_GENERATOR_PLATFORM references toolset instead
of platform
Description: 
The help for CMAKE_GENERATOR_PLATFORM says:
"If the user specifies a toolset name (e.g. via the cmake -A option) the value
will be available in this variable."

which is clearly a cut-and-paste from CMAKE_GENERATOR_TOOLSET:
"If the user specifies a toolset name (e.g. via the cmake -T option) the value
will be available in this variable."

It _should_ say:
"If the user specifies a platform name (e.g. via the cmake -A option) the value
will be available in this variable."

i.e. replace 'toolset' with 'platform', to match the variable name and the -A
command-line parameter help.

See
http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_GENERATOR_PLATFORM.html#variable:CMAKE_GENERATOR_PLATFORM
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-06-17 21:29 Paul "TBBle" HampsonNew Issue                                  
 
======================================================================



More information about the cmake-developers mailing list