summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Fix #12342: Add APPEND_STRING option to set_property()Alex Neundorf2011-07-151-5/+7
| | | | | | | | | set_property() has APPEND, which creates a list. E.g. when appending to COMPILE_FLAGS a string is needed, not a list. With the APPEND_STRING option the value is append as string, not as list. Alex
* Correct misspelling in error message text.David Cole2010-12-061-1/+1
|
* Condense parsing of cache entriesBen Boeckel2010-11-221-5/+9
| | | | | If a cache line is being parsed, it shouldn't matter whether it has a type or not; just parse it however possible.
* Support manual cache entriesBen Boeckel2010-11-221-1/+2
|
* Fix parsing of cache variables without a typeBen Boeckel2010-11-221-3/+3
| | | | | | | | | These mainly come from the command line or manual entries in the CMakeCache.txt file. We want to stop at the first '=' because this is what is most likely to have been meant. The variable can be quoted if the '=' is intended. Caveat: What if one wants both '"' and '=' in a variable name?
* Remove unused #include <windows.h>Brad King2010-01-131-4/+0
|
* Fix warnings in CMake source code. Suppress warnings in Lexer and Parser ↵David Cole2009-09-301-2/+4
| | | | files that are 'too hard' to fix.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Remove barely-used cmCacheManager::AddCacheEntryBrad King2009-09-111-13/+0
| | | | | | | The commit "Remove barely-used cmMakefile::AddCacheDefinition" removed all but one use of the cmCacheManager method 'bool' overload. This commit removes the other use and the entire method, thus reducing code duplication.
* BUG: Document internal cache property MODIFIEDBrad King2009-03-131-0/+7
| | | | | All cmake-defined properties should be documented, even if they are internal. This fixes the DocTest when CMAKE_STRICT is enabled.
* BUG: Fix cache properties for CMAKE_STRICT buildBrad King2009-03-131-1/+5
| | | | | All cmPropertyMap instances must have CMakeInstance set. This teaches cmCacheManager to set it on cache entries.
* COMP: Do not use void returnsBrad King2009-03-121-1/+1
| | | | | VS 6 does not support the C++ void returns feature. This removes an accidental use of it.
* ENH: Define STRINGS cache entry propertyBrad King2009-03-121-0/+11
| | | | | | | This property defines a list of values for a cache entry of type STRING. A CMake GUI may optionally use a drop-down selection widget for the entry instead of a generic text entry field. We do not enforce that the value of the entry match one of the strings listed.
* ENH: Refactor cache entry writing and readingBrad King2009-03-121-163/+103
| | | | | | This factors out duplicated code into reusable methods, thus simplifying writing and reading of cache entry help strings, keys, values, and properties.
* ENH: Document CACHE entry propertiesBrad King2009-03-101-0/+45
| | | | | This adds a property documentation section for CACHE properties. We document the ADVANCED, HELPSTRING, TYPE, and VALUE properties.
* ENH: Teach set/get_property about CACHE propertiesBrad King2009-03-101-0/+12
| | | | | | | | This adds the CACHE option to set_property and get_property commands. This allows full control over cache entry information, so advanced users can tweak their project cache as desired. The set_property command allows only pre-defined CACHE properties to be set since others would not persist anyway.
* ENH: Use cmPropertyMap for cache propertiesBrad King2009-03-101-99/+93
| | | | | This re-implements cache entry property storage in cmCacheManager to use cmPropertyMap so it can share the standard property implementation.
* ENH: Overhaul CMake version numberingBrad King2009-03-051-4/+3
| | | | | | | | | | | | | This moves the version numbers into an isolated configured header so that not all of CMake needs to rebuild when the version changes. Previously we had spaces, dashes and/or the word 'patch' randomly chosen before the patch number. Now we always report version numbers in the traditional format "<major>.<minor>.<patch>[-rc<rc>]". We still use odd minor numbers for development versions. Now we also use the CCYYMMDD date as the patch number of development versions, thus allowing tests for exact CMake versions.
* ENH: fix fix for unc pathsBill Hoffman2009-02-101-0/+1
|
* BUG: fix for 0008378, lists with FILEPATH and UNC //server/path failBill Hoffman2009-02-091-1/+18
|
* ENH: Add unset() command.Brad King2008-08-251-4/+0
| | | | | | | | 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.
* BUG: Fix uninitialzed members of cmCacheManager.Brad King2008-01-291-0/+6
|
* ENH: Added cmMakefile::NeedCacheCompatibility method and support for it in ↵Brad King2008-01-241-3/+38
| | | | cmCacheManager. This will allow commands to modify their behavior when running with a cache loaded from an earlier CMake version.
* ENH: fix spelling errorBill Hoffman2007-09-071-1/+1
|
* ENH: -U for removing variables now uses globbing expressionsAlexander Neundorf2007-06-041-1/+1
| | | | | | | -cmCacheManager: now also variables with type UNINITIALIZED are saved in CMakeCache.txt, these are the vars defined using -DFOO=foo but without type Alex
* ENH: also handle comments for variables which contain newlinesAlexander Neundorf2007-06-011-17/+20
| | | | Alex
* ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only ↵Bill Hoffman2006-11-291-3/+4
| | | | use cmVersion
* ENH: centralized locaiton of CMakeFiles settingKen Martin2006-06-141-3/+5
|
* STYLE: fix line lengthKen Martin2006-05-101-4/+4
|
* ENH: Remove cmGlob and use glob from kwsysAndy Cedilnik2006-03-211-2/+3
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-88/+89
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-90/+114
|
* ENH: if CMakeCache.txt has been removed, then automatically remove ↵Bill Hoffman2006-03-091-0/+21
| | | | CMakefiles/*.cmake
* ENH: better finding of mingw from msys, and delete CMakeFiles directory when ↵Bill Hoffman2006-02-211-0/+19
| | | | cache is deleted
* ENH: Report which cmake was used to generate the cache in the commentAndy Cedilnik2006-02-141-2/+8
|
* ENH: put cmake files intoa CMakeFiles subdir to clean up bin treeKen Martin2005-07-291-0/+2
|
* STYLE: Fix typosAndy Cedilnik2005-07-061-1/+1
|
* ENH: make regex static so it is not recomputed for each line of the cacheBill Hoffman2005-04-121-4/+4
|
* COMP: Removed warning due to unsigned enum type.Brad King2005-03-151-1/+1
|
* BUG: Handle DOS files un unix file systemsAndy Cedilnik2004-10-271-4/+5
|
* ENH: shorten the symbols a bit and remove maps of std::string for map of ↵Bill Hoffman2004-09-291-3/+3
| | | | cmStdString
* ENH: add better error reporting for file open failuresBill Hoffman2004-09-071-1/+2
|
* ENH: Adding MODIFIED property to cache values that have been changed by the ↵Brad King2004-06-231-0/+47
| | | | user.
* updates to gui to delete cacheKen Martin2004-05-201-0/+8
|
* BUG: Fixed Bug #154 - Uninitialized type initialized value cache variables ↵Andy Cedilnik2003-08-181-1/+1
| | | | should return value
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Get accessor for cache value as booleanAndy Cedilnik2003-08-081-0/+5
|
* BUG: Fix problem with uninitialized variablesAndy Cedilnik2003-08-021-4/+20
|
* ENH: Allow specifying cmake variables on the command line without specifying ↵Andy Cedilnik2003-08-011-0/+36
| | | | the type Bug #118 - Specifying cache entries with -D should not need the type
* ENH: Merged use of the kwsys RegularExpression class instead of ↵Brad King2003-06-231-3/+4
| | | | cmRegularExpression.