summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-10/+10
| | | | | | | | | | | | | | | | | 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/ \+$//'
* 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: support parenthesis as arguments and in conditionals feature request #6191Ken Martin2008-06-261-2/+17
|
* ENH: write the cmake version into the file created by ↵Alexander Neundorf2008-04-271-1/+2
| | | | | | | | | | EXPORT_LIBRARY_DEPENDENCIES() to help with debugging later on. The same should be done in the import target files (but I didn't have time to do it yet). STYLE: fix line length in cmListFileCache.cxx Alex
* ENH: Allow policy CMP0000 to be set explicitlyBrad King2008-03-311-24/+6
| | | | | | | | - Message for missing cmake_minimum_required is not issued until the end of processing the top CMakeLists.txt file - During processing a cmake_policy command may set behavior - OLD behavior is to silently ignore the problem - NEW behavior is to issue an error instead of a warning
* ENH: tiny performance improvementKen Martin2008-03-201-1/+2
|
* ENH: small simple projects do not need to specify cmake minimum requiredKen Martin2008-03-201-1/+35
|
* ENH: Improve warning about specifying a cmake versionBrad King2008-03-191-23/+24
| | | | | | | | | | - Update policy CMP0000 to require use of the command cmake_minimum_required and not cmake_policy so there is only one way to avoid it. - Explicitly specify the line users should add. - Reference policy CMP0000 only at the end. - Fix policy CMP0000 documentation to not suggest use of the cmake_policy command.
* ENH: Improve new error/warning message generationBrad King2008-03-131-0/+15
| | | | | | | | | | - Add cmListFileBacktrace to record stack traces - Move main IssueMessage method to the cmake class instance (make the backtrace an explicit argument) - Change cmMakefile::IssueMessage to construct a backtrace and call the cmake instance version - Record a backtrace at the point a target is created (useful later for messages issued by generators)
* ENH: change CMP_ to CMPKen Martin2008-03-131-3/+3
|
* ENH: add enum to IssueMessageBill Hoffman2008-03-111-2/+2
|
* ENH: Improve handling of old-style compatibility.Brad King2008-03-071-0/+3
| | | | | | | | | | | | | | | | | | | - Remove CMP_0001 (no slash in target name) and restore old CMAKE_BACKWARDS_COMPATIBILITY check for it - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY with cmLocalGenerator::NeedBackwardsCompatibility calls - Create new CMP_0001 to determine whether or not CMAKE_BACKWARDS_COMPATIBILITY is used. (old = use, new = ignore) - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when CMP_0001 is set to OLD or WARN - Update documentation of cmake_policy and cmake_minimum_required to indicate their relationship and the 2.4 version boundary - When no cmake policy version is set in top level makefile implicitly call cmake_policy(VERSION 2.4) which restores CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility - Fix tests MakeClean and Preprocess to call cmake_policy(VERSION 2.6) because they depend on new policies
* ENH: clean up some policy stuff and interactions with ↵Ken Martin2008-03-071-26/+5
| | | | CMAKE_BACKWARDS_COMPATIBILITY and CMAKE_MINIMUM_REQUIRED
* STYLE: fix line length issueKen Martin2008-03-071-2/+4
|
* ENH: New format for warning and error messagesBrad King2008-03-071-6/+6
| | | | | | | | | | | | | - Add cmMakefile methods IssueError and IssueWarning - Maintain an explicit call stack in cmMakefile - Include context/call-stack info in messages - Nested errors now unwind the call stack - Use new mechanism for policy warnings and errors - Improve policy error message - Include cmExecutionStatus pointer in call stack so that errors deeper in the C++ stack under a command invocation will become errors for the command
* BUG: keep CMAKE_BACKWARDS_COMP as internalKen Martin2008-03-061-0/+13
|
* BUG: make default CMAKE_BACKWARDS_COMPATIBILITY 2.5Ken Martin2008-03-061-1/+1
|
* BUG: change in handling of cmake_minimum_requiredKen Martin2008-03-061-6/+1
|
* BUG: change the handling of CMAKE_MINIMUM_REQUIRED and ↵Ken Martin2008-03-061-2/+58
| | | | BACKWARDS_COMPATIBILITY and extend the documentaiton quite a bit
* BUG: ParseFile should return false if there was a parse error.Brad King2007-11-191-0/+4
|
* COMP: Fix and/or disable warnings for Borland 5.6 build.Brad King2006-08-011-0/+4
|
* STYLE: fix line lengthKen Martin2006-05-121-2/+4
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-14/+14
|
* BUG: Remove some old legacy code and remove memory leakAndy Cedilnik2006-03-081-18/+2
|
* ENH: Since list file cache does not make much sense any more (because of ↵Andy Cedilnik2006-02-071-87/+8
| | | | proper list file parsing), and it actually adds unnecessary complications and make ctest scripting not work, take it out
* BUG: project command should also work with lower caseKen Martin2005-07-061-1/+1
|
* ENH: Improve handling of escaped charactersAndy Cedilnik2005-06-171-2/+2
|
* BUG: Fixed line number of end of file error message.Brad King2004-08-311-1/+3
|
* BUG#1049: Added error message when file ends in an unterminated string.Brad King2004-08-311-6/+12
|
* ENH: more uniform approach to enable language, one step closer to being able ↵Bill Hoffman2004-08-261-1/+0
| | | | to enable a language without modifing cmake source code
* ENH: Added support for special variables CMAKE_CURRENT_LIST_FILE and ↵Brad King2004-08-041-11/+37
| | | | CMAKE_CURRENT_LIST_LINE that evaluate to the file name and line number in which they appear. This implements the feature request from bug 1012.
* ENH: Using lex-based tokenizer and a simple recursive-descent parser in ↵Brad King2003-12-081-211/+116
| | | | place of the old hand-coded parser for CMake listfiles.
* ENH: Added support for # characters inside quoted arguments and for escaping ↵Brad King2003-07-091-16/+68
| | | | # in a non-quoted argument. Improved parsing speed by not compiling regular expressions on blank lines.
* ENH: Merged use of the kwsys RegularExpression class instead of ↵Brad King2003-06-231-7/+8
| | | | cmRegularExpression.
* Implement GetLineFromStream that actually works and use it instead of getlineAndy Cedilnik2003-03-271-19/+13
|
* ENH: Improved filename/line number reporting in error message. Macro ↵Brad King2002-12-121-18/+18
| | | | invocations now chain up the error message.
* BUG: Multi-line functions must also increment line number, not the pointer.Brad King2002-12-111-1/+1
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-6/+183
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* ENH: put the project command at the front of the projectBill Hoffman2002-12-021-1/+1
|
* ENH: remove cerr callsBill Hoffman2002-12-021-1/+0
|
* ENH: add PROJECT command if there is not oneBill Hoffman2002-12-021-4/+29
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* Add a way to remove files from cacheAndy Cedilnik2002-09-191-0/+10
|
* remove unused variablesKen Martin2002-09-151-2/+0
|
* ENH: speed improvementsBill Hoffman2002-04-111-1/+6
|
* ENH:Updated copyrightWill Schroeder2002-01-211-0/+16
|
* Improvements to the curses interface.Berk Geveci2001-11-291-1/+6
|
* ENH: add better error reports in parsing cmake files, like what file has the ↵Bill Hoffman2001-10-021-1/+2
| | | | error
* ENH: add caching for the input CMakeList.txt files, 2X speed upBill Hoffman2001-08-281-0/+86