MantisBT - CMake
View Issue Details
0015621CMakeDocumentationpublic2015-06-17 21:292016-01-04 11:51
Paul "TBBle" Hampson 
 
lowtextN/A
closedfixed 
CMake 3.2.3 
 
0015621: CMAKE_GENERATOR_PLATFORM references toolset instead of platform
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 [^]
No tags attached.
Issue History
2015-06-17 21:29Paul "TBBle" HampsonNew Issue
2015-06-18 09:18Brad KingNote Added: 0038946
2015-06-18 09:18Brad KingSeveritytweak => text
2015-06-18 09:18Brad KingStatusnew => resolved
2015-06-18 09:18Brad KingResolutionopen => fixed
2016-01-04 11:51Robert MaynardNote Added: 0040071
2016-01-04 11:51Robert MaynardStatusresolved => closed

Notes
(0038946)
Brad King   
2015-06-18 09:18   
Fixed, thanks:

 Help: Fix typo in CMAKE_GENERATOR_PLATFORM docs
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1c9db7db [^]
(0040071)
Robert Maynard   
2016-01-04 11:51   
Closing resolved issues that have not been updated in more than 4 months.