MantisBT - CMake
View Issue Details
0007715CMakeCMakepublic2008-09-21 21:192008-09-25 10:22
Philip Lowman 
Brad King 
normalfeaturealways
closedfixed 
CMake-2-6 
 
0007715: Add support for reading variables from the cache without unsetting a local variable.
A need has been identified to read variables from the cache when they may be obscured by local scope variables.

It has been proposed that $CACHE{var} be implemented to allow the user to obtain values from the cache where they may be obscured by local variables (similar to $ENV{var} ).

http://www.cmake.org/pipermail/cmake/2008-August/023647.html [^]
No tags attached.
Issue History
2008-09-21 21:19Philip LowmanNew Issue
2008-09-22 09:15Bill HoffmanStatusnew => assigned
2008-09-22 09:15Bill HoffmanAssigned To => Brad King
2008-09-25 10:22Brad KingNote Added: 0013579
2008-09-25 10:22Brad KingStatusassigned => closed
2008-09-25 10:22Brad KingResolutionopen => fixed

Notes
(0013579)
Brad King   
2008-09-25 10:22   
The $CACHE{} syntax looks good to me:

/cvsroot/CMake/CMake/Source/cmCommandArgumentParserHelper.cxx,v <-- Source/cmCommandArgumentParserHelper.cxx
new revision: 1.22; previous revision: 1.21
/cvsroot/CMake/CMake/Tests/Unset/CMakeLists.txt,v <-- Tests/Unset/CMakeLists.txt
new revision: 1.3; previous revision: 1.2