summaryrefslogtreecommitdiffstats
path: root/Source/cmLoadCacheCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'consistent-empty-method'Brad King2015-01-191-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 5f69314e Replace foo.length() pattern with !foo.empty(). fd0c036c Replace 'foo.length() >= 1' pattern with !foo.empty() f09fde2d Replace 'foo.length() > 0' pattern with !foo.empty(). 86b5bdfa Replace 'foo.length() == 0' pattern with foo.empty(). fd7b3712 Replace foo.size() pattern with !foo.empty(). aa773035 Replace !foo.size() pattern with foo.empty(). 64592633 cmListCommand: Use empty() and expand whitespace. 607e1938 Replace 'foo.size() != 0' pattern with !foo.empty(). 930bd478 Replace 'foo.size() == 0' pattern with foo.empty(). d92887ef Replace 'foo.size() > 0' pattern with !foo.empty().
| * Replace foo.length() pattern with !foo.empty().Stephen Kelly2015-01-181-2/+2
| |
* | Convert raw loops to set member insert.Stephen Kelly2015-01-181-4/+1
|/
* Remove some c_str() calls.Stephen Kelly2014-03-111-4/+4
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-2/+2
| | | | | | | | | | | 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.
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-1/+2
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-9/+9
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Condense parsing of cache entriesBen Boeckel2010-11-221-2/+1
| | | | | If a cache line is being parsed, it shouldn't matter whether it has a type or not; just parse it however possible.
* Use cmCacheManager to load entries from the cacheBen Boeckel2010-11-221-36/+3
|
* 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.
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* STYLE: fix line lengthKen Martin2006-05-121-1/+2
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-3/+3
|
* ENH: shorten the symbols a bit and remove maps of std::string for map of ↵Bill Hoffman2004-09-291-2/+2
| | | | cmStdString
* ENH: Merged use of the kwsys RegularExpression class instead of ↵Brad King2003-06-231-2/+3
| | | | cmRegularExpression.
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-4/+2
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* ENH: Added READ_WITH_PREFIX option to LOAD_CACHE command. This allows ↵Brad King2002-11-201-1/+144
| | | | reading of cache values from another cache without actually creating local copies of the cache entires. The values are stored as prefixed local makefile variables.
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-4/+4
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* changed cache manager and registered generators to no longer be singletonsKen Martin2002-08-281-1/+1
|
* make sure ; expansion is done in all commandsBill Hoffman2002-03-291-3/+5
|
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-6/+2
|
* ERR: Removed cmCacheManager::DefineCache method. It is no longer needed.Brad King2002-01-221-1/+2
|
* ENH:Updated copyrightWill Schroeder2002-01-211-4/+5
|
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-2/+3
| | | | avoid changes to the file cache
* Adding new options to LoadCache.Berk Geveci2001-08-161-3/+33
|
* 1. Added EXCLUDE option to LOAD_CACHE.Berk Geveci2001-08-151-5/+28
| | | | 2. Entries brought in from another cache are now marked as internal.
* BUG: remove iostream.h includesBill Hoffman2001-07-101-1/+0
|
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* added load cache command and fixed source fileKen Martin2001-05-091-0/+38