[cmake-developers] [CMake 0014756]: RFE: Report changes to cached values

Mantis Bug Tracker mantis at public.kitware.com
Fri Feb 14 14:20:41 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14756 
====================================================================== 
Reported By:                Ben Boeckel
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14756
Category:                   CMake
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-02-14 14:20 EST
Last Modified:              2014-02-14 14:20 EST
====================================================================== 
Summary:                    RFE: Report changes to cached values
Description: 
Add a variable to CMake such that it will report when a cached variable's value
is different from the default being set. For example:

    set(var dflt CACHE STRING "description")

could output:

    path/to/CMakeLists.txt:42: var 'dflt' -> 'cachedvalue'

and could also, at the end of configure, print out a command line (or initial
cache file) to be used to duplicate the build on another machine. I was thinking
of 'CMAKE_REPORT_DELTA' as the control variable.

Came up from a gn thread:
https://groups.google.com/a/chromium.org/d/msg/gn-dev/la6vwV3x-o4/hkJJ78a7rqwJ
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-02-14 14:20 Ben Boeckel    New Issue                                    
======================================================================



More information about the cmake-developers mailing list