summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParserHelper.cxx
Commit message (Collapse)AuthorAgeFilesLines
* stringapi: Use strings for AddString methodsBen Boeckel2014-03-081-6/+6
| | | | It gets turned into a string anyways, so pass them in.
* Include cmMakefile.h before cm*Lexer.h to get stdint.h firstBrad King2013-08-071-2/+2
| | | | | | | Some generated cm*Lexer.h headers define preprocessor macros normally provided by <stdint.h>. The latter is included indrectly by cmMakefile.h since commit 2268c41a (Optimize custom command full-path dependency lookup, 2013-08-06). Adjust the order to avoid redefinition warnings.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Use cmake::IssueMessage for warningsBen Boeckel2010-12-071-3/+8
|
* Use 'CMake Warning' versus 'warning' for CDashBen Boeckel2010-12-071-1/+1
|
* Fix long lines for KWStyleBen Boeckel2010-09-231-1/+1
|
* Fix line lengths to be no more than 78Ben Boeckel2010-09-161-2/+4
|
* Remove now unused variablesBen Boeckel2010-09-081-2/+0
|
* Use built-ins for readability and maintainabilityBen Boeckel2010-09-081-2/+3
|
* Fix detection of system filesBen Boeckel2010-09-021-2/+4
| | | | | Instead of looking to see if the file is under CMAKE_ROOT, check to see if it is instead under the source or binary directories in use.
* Add a flag to warn about system filesBen Boeckel2010-09-011-4/+10
|
* Rename strict-mode to warn-uninitializedBen Boeckel2010-09-011-3/+3
|
* Complete strict-mode checks for uninitialized varsBen Boeckel2010-09-011-1/+1
|
* Make --strict-mode option, and integrate with cmake-guiBill Hoffman2010-09-011-3/+10
|
* Add a warning when variables are used uninitialized.Bill Hoffman2010-09-011-1/+6
|
* Fix seg fault for empty ENV{} call bug #9747Bill Hoffman2009-10-211-1/+5
|
* 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: Fix CMAKE_CURRENT_LIST_FILE in macrosBrad King2009-03-251-5/+1
| | | | | | | | | | | | | | | | | | | | | The value of CMAKE_CURRENT_LIST_FILE is supposed to be the list file currently being executed. Before macros were introduced this was always the context of the argument referencing the variable. Our original implementation of macros replaced the context of command arguments inside the macro with that of the arguments of the calling context. This worked recursively, but only worked when macros had at least one argument. Furthermore, it caused parsing errors of the arguments to report the wrong location (calling context instead of line with error). The commit "Improve context for errors in macros" fixed the latter bug by keeping the lexical context of command arguments in macros. It broke evaluation of CMAKE_CURRENT_LIST_FILE because the calling context was no longer preserved in the argument referencing the variable. However, since our list file processing now maintains the proper value of CMAKE_CURRENT_LIST_FILE with dynamic scope we no longer need the context of the argument and can just evaluate the variable normally.
* ENH: Create $CACHE{VAR} syntaxBrad King2008-09-251-1/+16
| | | | | This syntax allows reading of cache entries even when variables of the same name have been defined in the local scope. See issue #7715.
* ENH: Improve argument parsing error messagesBrad King2008-09-241-7/+18
| | | | | | | | | | | | | | Previously error messages produced by parsing of command argument variable references, such as bad $KEY{VAR} syntax or a bad escape sequence, did not provide good context information. Errors parsing arguments inside macro invocations gave no context at all. Furthermore, some errors such as a missing close curly "${VAR" would be reported but build files would still be generated. These changes teach CMake to report errors with good context information for all command argument parsing problems. Policy CMP0010 is introduced so that existing projects that built despite such errors will continue to work.
* BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This ↵Brad King2007-06-061-28/+2
| | | | fixes the original fix to bug#4393 and adds a test.
* BUG: Fixed cmCommandArgumentLexer no-escape mode to not match ↵Brad King2007-06-041-9/+3
| | | | backslash-escape sequences as lexical tokens at all. Needed to configure files with backslashes preceding an @VAR@ replacement. This fixes bug#5130.
* ENH: add atonly support to cmCommandArgumentParserHelper.cxx and remove old ↵Bill Hoffman2007-02-091-10/+53
| | | | non-yacc parser code from cmMakefile.cxx
* BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722.Brad King2006-10-041-0/+16
|
* BUG: One should be able to escape the @ symbol.Brad King2006-09-271-0/+1
|
* COMP: Handle both ansi and non-ansi CAndy Cedilnik2006-07-261-1/+1
|
* STYLE: fix line lengthKen Martin2006-05-101-25/+10
|
* ENH: handle empty variablesBill Hoffman2006-05-061-0/+4
|
* ENH: add support for win64 for visual studio 2005 ide and nmake, also fix ↵Bill Hoffman2006-03-301-2/+2
| | | | warnings produced by building for win64
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-34/+34
|
* ENH: remove UMRBill Hoffman2005-09-081-1/+0
|
* ENH: Remove stray abortAndy Cedilnik2005-06-211-1/+0
|
* BUG: Fix escaping to make OSX work againAndy Cedilnik2005-06-211-1/+3
|
* ENH: Improve handling of escaped charactersAndy Cedilnik2005-06-171-1/+50
|
* ENH: More cleanupsAndy Cedilnik2005-06-141-118/+7
|
* ENH: Handle non-existing variablesAndy Cedilnik2005-06-131-1/+1
|
* ENH: More optimizationAndy Cedilnik2005-06-131-15/+8
|
* ENH: Handle errors and optimize a bitAndy Cedilnik2005-06-131-3/+15
|
* ENH: Handle more casesAndy Cedilnik2005-06-081-5/+13
|
* ENH: Initial import (not working yet)Andy Cedilnik2005-06-081-0/+352