[cmake-developers] [CMake 0015575]: Ambiguous documentation for how to define a (cached) variable in cmake from command line

Mantis Bug Tracker mantis at public.kitware.com
Wed May 20 04:56:26 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15575 
====================================================================== 
Reported By:                Claudio Caraffi
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15575
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-05-20 04:56 EDT
Last Modified:              2015-05-20 04:56 EDT
====================================================================== 
Summary:                    Ambiguous documentation for how to define a (cached)
variable in cmake from command line
Description: 
As discussed in
http://stackoverflow.com/questions/30319646/ambiguous-documentation-for-how-to-define-a-cached-variable-in-cmake-from-comm:

In the command line synopsis there's

-D<var>=<value>

While in the option description we read:

-D <var>:<type>=<value>

The two entries differ by a space between -D and the variable definition, and by
the presence/absence of :<type>.

Does the space make any difference? What is the difference between specifying or
not the type? Is it cached in any case? Is it shown in the gui afterwards?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-05-20 04:56 Claudio CaraffiNew Issue                                    
======================================================================



More information about the cmake-developers mailing list