[cmake-developers] [CMake 0015012]: Generator expressions provide PLATFORM_ID but its values are not documented

Mantis Bug Tracker mantis at public.kitware.com
Thu Jul 10 07:09:07 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15012 
====================================================================== 
Reported By:                Philipp Möller
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15012
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-07-10 07:09 EDT
Last Modified:              2014-07-10 07:09 EDT
====================================================================== 
Summary:                    Generator expressions provide PLATFORM_ID but its
values are not documented
Description: 
http://www.cmake.org/cmake/help/v3.0/manual/cmake-generator-expressions.7.html
documents PLATFORM_ID, but does not mention the possible values the variable
could have.

I suppose the corresponding variable is CMAKE_<LANG>_PLATFORM_ID
http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_LANG_PLATFORM_ID.html, but
is documented as internal.

Removing PLATFORM_ID from generator expressions would be a step backwards since
it would remove an important use case, documentation CMAKE_<LAND>_PLATFORM_ID
seems the right direction.

In general the generator expression documentation could be more explicit about
the corresponding variables.

Steps to Reproduce: 
None.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-07-10 07:09 Philipp Möller New Issue                                    
======================================================================



More information about the cmake-developers mailing list