summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
Commit message (Collapse)AuthorAgeFilesLines
* stringapi: Use strings for cache iterator valuesBen Boeckel2014-03-081-3/+3
|
* stringapi: Miscellaneous char* parametersBen Boeckel2014-03-081-1/+1
|
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-4/+4
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* stringapi: Use strings for cache paths as argumentsBen Boeckel2014-03-081-6/+6
|
* stringapi: Use strings for variable namesBen Boeckel2014-03-081-5/+5
| | | | Variable names are always generated by CMake and should never be NULL.
* stringapi: Use strings for property namesBen Boeckel2014-03-081-9/+9
| | | | Property names are always generated by CMake and should never be NULL.
* cmCacheManager: Consify version accessors.Stephen Kelly2014-01-221-2/+4
|
* cmake: Drop support for "-i" wizard modeBrad King2013-10-181-1/+0
| | | | | Tell users to pass cache values with the -D option on the command line or use cmake-gui or ccmake.
* Drop builtin property documentationBrad King2013-10-161-3/+0
| | | | | | Drop all DefineProperty calls for non-chained properties. Drop the documentation from the chained ones. The documentation for all properties is now in Help/prop_*/*.rst files.
* Fix style.Stephen Kelly2013-05-161-1/+1
|
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-18/+18
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Fix #12342: Add APPEND_STRING option to set_property()Alex Neundorf2011-07-151-2/+4
| | | | | | | | | 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
* Condense parsing of cache entriesBen Boeckel2010-11-221-4/+0
| | | | | If a cache line is being parsed, it shouldn't matter whether it has a type or not; just parse it however possible.
* 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-3/+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: Fix cache properties for CMAKE_STRICT buildBrad King2009-03-131-1/+3
| | | | | All cmPropertyMap instances must have CMakeInstance set. This teaches cmCacheManager to set it on cache entries.
* ENH: Refactor cache entry writing and readingBrad King2009-03-121-1/+8
| | | | | | 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/+3
| | | | | 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/+1
| | | | | | | | 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-1/+6
| | | | | This re-implements cache entry property storage in cmCacheManager to use cmPropertyMap so it can share the standard property implementation.
* ENH: clean up some policy stuff and interactions with ↵Ken Martin2008-03-071-0/+1
| | | | CMAKE_BACKWARDS_COMPATIBILITY and CMAKE_MINIMUM_REQUIRED
* BUG: Fix uninitialzed members of cmCacheManager.Brad King2008-01-291-0/+1
|
* ENH: Added cmMakefile::NeedCacheCompatibility method and support for it in ↵Brad King2008-01-241-1/+9
| | | | cmCacheManager. This will allow commands to modify their behavior when running with a cache loaded from an earlier CMake version.
* BUG: When a non-cache variable is marked as advance do not use the ↵Brad King2007-04-101-0/+2
| | | | cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-17/+17
|
* ENH: fix line length style stuffBill Hoffman2006-03-101-1/+2
|
* ENH: if CMakeCache.txt has been removed, then automatically remove ↵Bill Hoffman2006-03-091-1/+3
| | | | CMakefiles/*.cmake
* ENH: shorten the symbols a bit and remove maps of std::string for map of ↵Bill Hoffman2004-09-291-2/+2
| | | | cmStdString
* updates to gui to delete cacheKen Martin2004-05-201-0/+3
|
* ENH: Get accessor for cache value as booleanAndy Cedilnik2003-08-081-0/+1
|
* BUG: Fix problem with uninitialized variablesAndy Cedilnik2003-08-021-0/+4
|
* ENH: Allow specifying cmake variables on the command line without specifying ↵Andy Cedilnik2003-08-011-1/+5
| | | | the type Bug #118 - Specifying cache entries with -D should not need the type
* ENH: Add method to convert from CacheEntryType to stringAndy Cedilnik2003-04-291-0/+1
|
* Cache manager should be able to take no argumentsAndy Cedilnik2003-03-061-3/+7
|
* ENH: Better error checking for cache iterator.Brad King2003-02-051-1/+1
|
* rename foo variables to better namesBill Hoffman2002-11-201-2/+2
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-5/+5
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* Fix problems with advanced not being marked.Andy Cedilnik2002-09-171-0/+1
|
* Fix build problem on SunAndy Cedilnik2002-09-121-1/+2
|
* Couple of changes: cache variables now have a map of properties. ADVANCED ↵Andy Cedilnik2002-09-111-14/+31
| | | | 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
* made method publicKen Martin2002-09-041-4/+4
|
* changed cache manager and registered generators to no longer be singletonsKen Martin2002-08-281-4/+0
|
* removed shared lib supportKen Martin2002-08-231-15/+15
|
* compiler warningsKen Martin2002-08-231-1/+1
|
* BUG: add explicit clean up of the cachemanager at exit of programs, so dll ↵Bill Hoffman2002-08-231-0/+1
| | | | destruction is not a problem.
* made CMakeLib shared on windowsKen Martin2002-08-211-14/+38
|
* ERR: Removed cmCacheManager::DefineCache method. It is no longer needed.Brad King2002-01-221-3/+0
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* ENH: add advanced variable types and command line wizard guiBill Hoffman2001-11-261-0/+3
|
* ENH: add command line arguments to set cache entriesBill Hoffman2001-11-201-0/+6
|