View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014756 | CMake | CMake | public | 2014-02-14 14:20 | 2016-06-10 14:31 | ||||
Reporter | Ben Boeckel | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | feature | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014756: 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 [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0035112) Brad King (manager) 2014-02-14 15:38 |
Note that in Modules/CMakeGenericSystem.cmake we do: if(NOT DEFINED CMAKE_INSTALL_PREFIX) set(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT 1) endif() ... set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "...") ... so that applications can know when they can force a different default for CMAKE_INSTALL_PREFIX without overriding a user setting. This could be generalized for use with all cache entries. It would be helpful for projects that want to override the default CMAKE_C_FLAGS_DEBUG, for example, without needing to use CMAKE_USER_MAKE_RULES_OVERRIDE and a separate file. See also discussion in 0014546. |
(0042487) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-02-14 14:20 | Ben Boeckel | New Issue | |
2014-02-14 15:34 | Brad King | Relationship added | related to 0014546 |
2014-02-14 15:38 | Brad King | Note Added: 0035112 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042487 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |