summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
Commit message (Collapse)AuthorAgeFilesLines
* backtrace: Convert to local paths in IssueMessageBen Boeckel2014-06-051-1/+16
| | | | | This is the only place we care show the FilePath to the user, so defer the expensive relative path calculation until here.
* Add Lua-style long brackets and long comments to CMake languageBrad King2013-10-171-1/+2
| | | | | | | | | | | | | | | | | Teach the CMake language parser to recognize Lua-style "long bracket" arguments. These start with two '[' separated by zero or more '=' characters e.g. "[[" or "[=[" or "[==[". They end with two ']' separated by the same number of '=' as the opening bracket. There is no nesting of brackets of the same level (number of '='). No escapes, variable expansion, or other processing is performed on the content between such brackets so they always represent exactly one argument. Also teach CMake to parse and ignore "long comment" syntax. A long comment starts with "#" immediately followed by an opening long bracket. It ends at the matching close long bracket. Teach the RunCMake.Syntax test to cover long bracket and long comment cases.
* cmListFileArgument: Generalize 'Quoted' bool to 'Delimeter' enumBrad King2013-08-081-6/+11
| | | | | | Replace the boolean value that indicates whether an argument is unquoted or quoted with a generalized enumeration of possible argument types. For now "Quoted" and "Unquoted" remain the only types.
* Rename the IncludeDirectoriesEntry to be more generic.Stephen Kelly2013-02-121-0/+9
|
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-4/+4
| | | | | | | | | | | | | | | | | 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.
* BUG: Make sure context info is always initializedBrad King2008-10-111-0/+1
| | | | | | This adds a missing default constructor to cmListFileContext that makes sure the line number is initialized to zero. A zero line number will indicate a generated context.
* ENH: Improve new error/warning message generationBrad King2008-03-131-0/+4
| | | | | | | | | | - 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: New format for warning and error messagesBrad King2008-03-071-2/+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: change the handling of CMAKE_MINIMUM_REQUIRED and ↵Ken Martin2008-03-061-1/+5
| | | | BACKWARDS_COMPATIBILITY and extend the documentaiton quite a bit
* BUG: const char* FilePath could point to a non-existent std::string forAlexander Neundorf2007-05-111-1/+1
| | | | | | | commands used in a macro, using a std::string instead copies the contents so this works (correct error message) Alex
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-7/+8
|
* BUG: Remove some old legacy code and remove memory leakAndy Cedilnik2006-03-081-3/+0
|
* ENH: Since list file cache does not make much sense any more (because of ↵Andy Cedilnik2006-02-071-31/+1
| | | | proper list file parsing), and it actually adds unnecessary complications and make ctest scripting not work, take it out
* ENH: Added support for special variables CMAKE_CURRENT_LIST_FILE and ↵Brad King2004-08-041-4/+15
| | | | 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-19/+0
| | | | place of the old hand-coded parser for CMake listfiles.
* ERR: Added operator != for SGI.Brad King2002-12-171-0/+4
|
* ENH: Improved filename/line number reporting in error message. Macro ↵Brad King2002-12-121-1/+1
| | | | invocations now chain up the error message.
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-1/+34
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* ENH: add PROJECT command if there is not oneBill Hoffman2002-12-021-3/+5
|
* 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/+4
|
* removed shared lib supportKen Martin2002-08-231-2/+2
|
* made CMakeLib shared on windowsKen Martin2002-08-211-2/+2
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* initialize classBill Hoffman2001-09-141-0/+4
|
* remove warningBill Hoffman2001-08-281-1/+1
|
* ENH: add caching for the input CMakeList.txt files, 2X speed upBill Hoffman2001-08-281-0/+88