Bill Hoffman
67ddd0c837
BUG: fix for 0008378, lists with FILEPATH and UNC //server/path fail
2009-02-09 08:25:55 -05:00
Brad King
33e865c041
ENH: Add unset() command.
...
This introduces the unset() command to make it easy to unset CMake
variables, environment variables, and CMake cache variables. Previously
it was not even possible to unset ENV or CACHE variables (as in
completely remove them). Changes based on patch from Philip Lowman.
See issue #7507 .
2008-08-25 10:31:29 -04:00
Brad King
44cf465ff5
BUG: Fix uninitialzed members of cmCacheManager.
2008-01-29 17:30:48 -05:00
Brad King
7213408287
ENH: Added cmMakefile::NeedCacheCompatibility method and support for it in cmCacheManager. This will allow commands to modify their behavior when running with a cache loaded from an earlier CMake version.
2008-01-24 07:37:08 -05:00
Bill Hoffman
30ad13be94
ENH: fix spelling error
2007-09-07 11:10:46 -04:00
Alexander Neundorf
003654670b
ENH: -U for removing variables now uses globbing expressions
...
-cmCacheManager: now also variables with type UNINITIALIZED are saved in
CMakeCache.txt, these are the vars defined using -DFOO=foo but without type
Alex
2007-06-04 13:48:11 -04:00
Alexander Neundorf
26a5a295eb
ENH: also handle comments for variables which contain newlines
...
Alex
2007-06-01 11:06:48 -04:00
Bill Hoffman
ccb77b65c6
ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only use cmVersion
2006-11-29 15:59:16 -05:00
Ken Martin
8e9a6beccc
ENH: centralized locaiton of CMakeFiles setting
2006-06-14 12:28:32 -04:00
Ken Martin
5ac59d81d3
STYLE: fix line length
2006-05-10 13:56:27 -04:00
Andy Cedilnik
15d7dd9937
ENH: Remove cmGlob and use glob from kwsys
2006-03-21 12:54:31 -05:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Andy Cedilnik
634343c3e8
STYLE: Fix some style issues
2006-03-10 13:06:26 -05:00
Bill Hoffman
8cdb87eaa7
ENH: if CMakeCache.txt has been removed, then automatically remove CMakefiles/*.cmake
2006-03-09 15:47:18 -05:00
Bill Hoffman
e015df7d06
ENH: better finding of mingw from msys, and delete CMakeFiles directory when cache is deleted
2006-02-20 23:08:12 -05:00
Andy Cedilnik
e9fa7fa840
ENH: Report which cmake was used to generate the cache in the comment
2006-02-14 11:17:35 -05:00
Ken Martin
c6b011e35e
ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree
2005-07-29 09:19:25 -04:00
Andy Cedilnik
c4db8aba73
STYLE: Fix typos
2005-07-06 15:51:11 -04:00
Bill Hoffman
a3d1de8cd2
ENH: make regex static so it is not recomputed for each line of the cache
2005-04-12 13:26:08 -04:00
Brad King
5ddaebb522
COMP: Removed warning due to unsigned enum type.
2005-03-15 08:13:48 -05:00
Andy Cedilnik
c48af00154
BUG: Handle DOS files un unix file systems
2004-10-26 20:13:39 -04:00
Bill Hoffman
5bf55d1590
ENH: shorten the symbols a bit and remove maps of std::string for map of cmStdString
2004-09-29 16:07:07 -04:00
Bill Hoffman
b5bdf2cb0a
ENH: add better error reporting for file open failures
2004-09-07 16:55:25 -04:00
Brad King
4eb0400c98
ENH: Adding MODIFIED property to cache values that have been changed by the user.
2004-06-23 10:13:02 -04:00
Ken Martin
d7c6f51d00
updates to gui to delete cache
2004-05-20 15:08:18 -04:00
Andy Cedilnik
ff32379e26
BUG: Fixed Bug #154 - Uninitialized type initialized value cache variables should return value
2003-08-18 14:05:53 -04:00
Ken Martin
072db6ad70
removed redundent includes
2003-08-10 18:30:54 -04:00
Andy Cedilnik
91065673d6
ENH: Get accessor for cache value as boolean
2003-08-08 09:22:56 -04:00
Andy Cedilnik
32bfe66b5d
BUG: Fix problem with uninitialized variables
2003-08-02 09:33:23 -04:00
Andy Cedilnik
2f98c791fa
ENH: Allow specifying cmake variables on the command line without specifying the type Bug #118 - Specifying cache entries with -D should not need the type
2003-08-01 14:10:26 -04:00
Brad King
38482b46d1
ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression.
2003-06-23 14:10:12 -04:00
Andy Cedilnik
42db187012
ENH: Add method to convert from CacheEntryType to string
2003-04-29 10:02:53 -04:00
Andy Cedilnik
a9875aa62f
Implement GetLineFromStream that actually works and use it instead of getline
2003-03-27 12:24:30 -05:00
Bill Hoffman
ae5a80c795
spelling errors
2003-02-14 09:54:15 -05:00
Brad King
5bcd9203c3
ENH: Better error checking for cache iterator.
2003-02-05 14:55:46 -05:00
Bill Hoffman
7985bc118e
ENH: add a rule to automatically re-run cmake from the top if the CMakeCache.txt file is changed
2002-12-05 14:56:31 -05:00
Bill Hoffman
7b54b22ccd
ENH: force a global generate if the cache version does not match the running cmake
2002-11-13 14:31:44 -05:00
Brad King
1f6a3c67b1
ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
2002-10-23 18:03:27 -04:00
Andy Cedilnik
77616437d1
Remove tabs
2002-10-04 14:01:22 -04:00
Andy Cedilnik
f68f7c2550
Fix reading of advanced values from CMakeCache
2002-10-04 12:30:29 -04:00
Andy Cedilnik
577cf91945
Fix problems with advanced not being marked.
2002-09-17 11:48:52 -04:00
Ken Martin
4dec2a174a
remove unused variables
2002-09-15 09:54:08 -04:00
Andy Cedilnik
cf272c76ad
Oops, too fast commit; add missing ;
2002-09-12 11:13:22 -04:00
Andy Cedilnik
6a2174ff9d
Add more error checking
2002-09-12 11:12:31 -04:00
Brad King
1eb3dd19fc
BUG: GetCacheValue must check if value is UNINITIALIZED. If so, pretend it doesn't exist.
2002-09-11 16:12:49 -04:00
Andy Cedilnik
62d654abae
Fix find and remove check for uninitialized entries
2002-09-11 14:38:29 -04:00
Andy Cedilnik
b2f845feee
Function strcasecmp is not portable
2002-09-11 14:08:39 -04:00
Andy Cedilnik
bef93dc5c1
Couple of changes: cache variables now have a map of properties. ADVANCED and HELPSTRING are now properties of cache variable, IsAdvanced is gone, so is GetCacheEntry, since cache entries are now all private. To access them, you use the iterator. -ADVANCED cache entries are gone and are replaced by the property of cache variables. The cache file still looks the same, but the -ADVANCED cache entries are created when writing file. MarkAsAdvanced and VariableRequires are fixed. So are curses gui and wizard
2002-09-11 14:05:45 -04:00
Ken Martin
d0be2896d7
changed cache manager and registered generators to no longer be singletons
2002-08-28 14:51:10 -04:00
Bill Hoffman
3f36d23421
BUG: add explicit clean up of the cachemanager at exit of programs, so dll destruction is not a problem.
2002-08-23 13:46:32 -04:00