MantisBT - CMake
View Issue Details
0007507CMakeCMakepublic2008-08-20 02:042008-08-25 10:32
Philip Lowman 
Brad King 
normalfeatureN/A
closedfixed 
CMake-2-6 
 
0007507: [PATCH] A scripted means to remove cache variables
Attached is a patch which includes a new unset() command that removes both normal and cache variables.
No tags attached.
diff cmake-cvs+unset.diff (18,891) 2008-08-20 02:04
https://public.kitware.com/Bug/file/1668/cmake-cvs%2Bunset.diff
diff cmake-cvs+unset2.diff (21,655) 2008-08-22 00:38
https://public.kitware.com/Bug/file/1674/cmake-cvs%2Bunset2.diff
Issue History
2008-08-20 02:04Philip LowmanNew Issue
2008-08-20 02:04Philip LowmanFile Added: cmake-cvs+unset.diff
2008-08-20 09:57Bill HoffmanStatusnew => assigned
2008-08-20 09:57Bill HoffmanAssigned To => Bill Hoffman
2008-08-20 09:57Bill HoffmanNote Added: 0013114
2008-08-22 00:38Philip LowmanFile Added: cmake-cvs+unset2.diff
2008-08-22 00:40Philip LowmanNote Added: 0013152
2008-08-25 10:20Brad KingAssigned ToBill Hoffman => Brad King
2008-08-25 10:31Brad KingNote Added: 0013173
2008-08-25 10:32Brad KingStatusassigned => closed
2008-08-25 10:32Brad KingResolutionopen => fixed

Notes
(0013114)
Bill Hoffman   
2008-08-20 09:57   
Please bring this up on the cmake mailing list for discussion.
(0013152)
Philip Lowman   
2008-08-22 00:40   
Uploaded a new version as per discussion on mailing list. Test code is included as well.
(0013173)
Brad King   
2008-08-25 10:31   
Applied, with a few modifications. Thanks for the patch.

/cvsroot/CMake/CMake/Docs/cmake-syntax.vim,v <-- Docs/cmake-syntax.vim
new revision: 1.10; previous revision: 1.9
/cvsroot/CMake/CMake/Source/cmBootstrapCommands.cxx,v <-- Source/cmBootstrapCommands.cxx
new revision: 1.29; previous revision: 1.28
/cvsroot/CMake/CMake/Source/cmCacheManager.cxx,v <-- Source/cmCacheManager.cxx
new revision: 1.101; previous revision: 1.100
/cvsroot/CMake/CMake/Source/cmMakefile.cxx,v <-- Source/cmMakefile.cxx
new revision: 1.481; previous revision: 1.480
/cvsroot/CMake/CMake/Source/cmMakefile.h,v <-- Source/cmMakefile.h
new revision: 1.235; previous revision: 1.234
/cvsroot/CMake/CMake/Source/cmSetCommand.h,v <-- Source/cmSetCommand.h
new revision: 1.21; previous revision: 1.20
/cvsroot/CMake/CMake/Source/cmUnsetCommand.cxx,v <-- Source/cmUnsetCommand.cxx
initial revision: 1.1
/cvsroot/CMake/CMake/Source/cmUnsetCommand.h,v <-- Source/cmUnsetCommand.h
initial revision: 1.1
/cvsroot/CMake/CMake/Tests/CMakeLists.txt,v <-- Tests/CMakeLists.txt
new revision: 1.65; previous revision: 1.64
/cvsroot/CMake/CMake/Tests/Unset/CMakeLists.txt,v <-- Tests/Unset/CMakeLists.txt
initial revision: 1.1
/cvsroot/CMake/CMake/Tests/Unset/unset.cc,v <-- Tests/Unset/unset.cc
initial revision: 1.1