summaryrefslogtreecommitdiffstats
path: root/Source/cmForEachCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* Drop builtin command documentationBrad King2013-10-161-46/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* 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/ \+$//'
* Merge branch 'add-const-qualifiers' into doxygen-fixesBrad King2012-03-011-4/+4
|\ | | | | | | | | Conflicts: Source/cmPropertyDefinition.h
| * Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-291-4/+4
| | | | | | | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* | doxygen: remove a few commentsYury G. Kudryashov2012-02-291-10/+1
|/ | | | | These comments were either wrong or non-informative. Replace some of them by brief comments
* 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: New foreach(<var> IN ...) modeBrad King2009-03-171-3/+14
| | | | | | | | This creates a new mode of the foreach command which allows precise iteration even over empty elements. This mode may be safely extended with more keyword arguments in the future. The cost now is possibly breaking scripts that iterate over a list of items beginning with 'IN', but there is no other way to extend the syntax in a readable way.
* ENH: Better error message for unclosed blocksBrad King2009-01-211-1/+0
| | | | | | This centralizes construction of the error message for an unclosed logical block (if, foreach, etc.). We record the line at which each block is opened so it can be reported in the error message.
* ENH: Refactor function blocker deletionBrad King2009-01-201-2/+1
| | | | | | | | | When a function blocker decides to remove itself we previously removed it at every return point from the C++ scope in which its removal is needed. This teaches function blockers to transfer ownership of themselves from cmMakefile to an automatic variable for deletion on return. Since this removes blockers before they replay their commands, we no longer need to avoid running blockers on their own commands.
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-2/+4
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: minor doc cleanups and an example of documenting a variableKen Martin2007-10-151-3/+3
|
* ENH: make commands lower case by defaultKen Martin2007-10-101-8/+8
|
* ENH: allow loose loop constructsKen Martin2006-05-181-1/+3
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-4/+4
|
* STYLE: fix docsKen Martin2005-11-161-2/+2
|
* STYLE: updated the docs to be more accurateKen Martin2005-06-221-2/+2
|
* ENH: big change that includes immediate subdir support, removing the notion ↵Ken Martin2005-03-181-6/+0
| | | | of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
* ENH: Add RANGE support to FOREACHAndy Cedilnik2004-04-291-1/+11
|
* ENH: Make more commands scriptableAndy Cedilnik2004-02-061-0/+5
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Cleaned up documentation and formatted it for use by cmDocumentation.Brad King2003-02-141-2/+12
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-9/+4
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* 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.
* fixed if statements inside a foreachKen Martin2002-07-171-1/+2
|
* FIX: foreach function-blockers were using expanded args. Add virtual func to ↵Sebastien Barre2002-03-261-0/+2
| | | | specify if function blocker needs them expanded or not.
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-1/+1
| | | | avoid changes to the file cache
* new commandsKen Martin2001-07-251-0/+125