Commit Graph

70 Commits

Author SHA1 Message Date
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
Ken Martin 34c7c1b78d made CMakeLib shared on windows 2002-08-21 11:57:12 -04:00
Bill Hoffman ec4331d273 ENH: do not use count, find for map lookup 2002-04-30 14:00:14 -04:00
Brad King 8ed3ce29bf ERR: Removed cmCacheManager::DefineCache method. It is no longer needed. 2002-01-22 10:17:37 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Bill Hoffman 1a31d4b314 ENH: try to keep the dsp files from changing between each write 2002-01-14 18:52:19 -05:00
Berk Geveci b0f3a17450 If an entry starts with // (network paths), double quote it. 2001-12-07 18:27:26 -05:00
Berk Geveci 0daca0a5f3 Comments start with TWO leading slashes not _one_ 2001-12-07 18:12:17 -05:00
Bill Hoffman 8e5f3bb9e1 ENH: add mark as not advanced to mark as advanced 2001-12-07 15:47:39 -05:00
Sebastien Barre ecca17cfdd Add single quotes feature. 2001-12-05 15:29:36 -05:00
Bill Hoffman eecf4b9cbf ENH: add advanced variable types and command line wizard gui 2001-11-26 18:28:27 -05:00
Berk Geveci b170d21c98 Oops. The wrong version of the duplicate code was kept. Loaded cache values were not made internal. 2001-11-26 16:32:10 -05:00
Bill Hoffman 12551a33c3 NMake with spaces in directories 2001-11-21 17:45:01 -05:00
Andy Cedilnik 66135bee42 Fix the current directory check for NMake 2001-11-21 11:35:01 -05:00
Bill Hoffman f7fae15d39 ENH: add command line arguments to set cache entries 2001-11-20 17:51:03 -05:00
Bill Hoffman 41017cbc88 ENH: clean up warnings 2001-11-13 12:38:53 -05:00
Bill Hoffman 87cbb11742 One more time... case does not matter on cygwin 2001-11-07 09:29:25 -05:00
Andy Cedilnik 36e7b5567a On win32 path is all in lower case now 2001-11-02 09:18:23 -05:00
Bill Hoffman a13cb203ad BUG: use collapse full path when testing cache directory 2001-11-01 18:36:56 -05:00
Bill Hoffman 10ae8a4e24 ENH: clean up drive letter check 2001-11-01 10:42:07 -05:00
Andy Cedilnik 33b0bca1c4 Fix the problem on windows of capital or lower case drive letter for CMAKE_CACHEFILE_DIR 2001-10-30 14:36:50 -05:00
Andy Cedilnik f59946de67 Change CMAKE_CURRENT_CWD to CMAKE_CACHEFILE_DIR and change the messages 2001-10-30 14:15:15 -05:00
Bill Hoffman 539318f587 ENH: add callback for message display 2001-10-29 10:19:34 -05:00
Andy Cedilnik 47c7af3cc8 Added check if the binary directory changed. If it did, it will print the warning message 2001-10-26 09:29:21 -04:00
Andy Cedilnik 8a72356cff Added removing of spaces in CMakeCache.txt in front of comments and variables 2001-10-11 14:57:59 -04:00
Bill Hoffman 70bc593afe ENH: add a warning comment for cache values that can not be changed because they are always loaded from another cache 2001-10-10 10:22:50 -04:00
Bill Hoffman ddd5a7d729 ENH: change all maps of string to be maps of cmStdString, to reduce symbol length in object files. 2001-08-22 11:58:17 -04:00
Berk Geveci 3b9f97f32d Adding new options to LoadCache. 2001-08-16 11:41:44 -04:00
Berk Geveci 06a0f67f93 1. Added EXCLUDE option to LOAD_CACHE.
2. Entries brought in from another cache are now marked as internal.
2001-08-15 13:40:56 -04:00
Bill Hoffman db1303aa7d ENH: big change, only allow commands access to the cache via the cmMakefile class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping 2001-08-08 11:54:46 -04:00
Berk Geveci 9f7f282e5e Removing trailing spaces after cache entry value. 2001-07-25 09:40:22 -04:00
Bill Hoffman 4f77d737c9 ENH: move utilities to targets from makefile, and add versioning to cache 2001-06-07 14:52:29 -04:00
Bill Hoffman a3cfcd9894 BUG: clean up memory leaks. 2001-06-04 10:18:03 -04:00