Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ENH: Better handling of mismatched blocks | Brad King | 2009-01-21 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | If a logical block terminates with mismatching arguments we previously failed to remove the function blocker but replayed the commands anyway, which led to cases in which we failed to report the mismatch (return shortly after the ending command). The recent refactoring of function blocker deletion changed this behavior to produce an error on the ending line by not blocking the command. Furthermore, the function blocker would stay in place and complain at the end of every equal-level block of the same type. This teaches CMake to treat the begin/end commands (if/endif, etc.) as correct and just warns when the arguments mismatch. The change allows cases in which CMake 2.6.2 silently ignored a mismatch to run as before but with a warning. | ||||
* | ENH: Better error message for unclosed blocks | Brad King | 2009-01-21 | 1 | -9/+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 deletion | Brad King | 2009-01-20 | 1 | -11/+4 |
| | | | | | | | | | 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: make CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS the default and remove the ↵ | Bill Hoffman | 2008-02-29 | 1 | -4/+4 |
| | | | | property. If any value is specified in an endif, endforeach, endwhile, etc then make sure it matches the start string. If no values are given then it is no longer an error. | ||||
* | ENH: add return and break support to cmake, also change basic command ↵ | Ken Martin | 2008-01-23 | 1 | -4/+23 |
| | | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class | ||||
* | ENH: make properties a bit more formal with documentation and chaining | Ken Martin | 2006-12-07 | 1 | -1/+2 |
| | |||||
* | ENH: reduce string construct delete ops | Ken Martin | 2006-05-31 | 1 | -3/+3 |
| | |||||
* | ENH: allow loose loop constructs | Ken Martin | 2006-05-18 | 1 | -8/+19 |
| | |||||
* | STYLE: fix line length | Ken Martin | 2006-05-10 | 1 | -1/+3 |
| | |||||
* | ENH: added support for -SP scripts in new processes | Ken Martin | 2006-04-04 | 1 | -1/+1 |
| | |||||
* | STYLE: some m_ to this-> cleanup | Ken Martin | 2006-03-15 | 1 | -21/+21 |
| | |||||
* | ENH: converted macro to use variables and fixed some case issues with some ↵ | Ken Martin | 2005-06-23 | 1 | -2/+2 |
| | | | | function blockers | ||||
* | COMP: fix possible poroblem with freed memory | Ken Martin | 2005-06-22 | 1 | -2/+6 |
| | |||||
* | COMP: fix unused variable | Ken Martin | 2005-06-22 | 1 | -3/+0 |
| | |||||
* | ENH: changed FOREACH to use variables instead of string replacement | Ken Martin | 2005-06-22 | 1 | -18/+7 |
| | |||||
* | BUG: Propagate file name and line number inside FOREACH. Fixes Bug #1169 - ↵ | Andy Cedilnik | 2004-09-15 | 1 | -0/+2 |
| | | | | Erro messages inside FOREACH have bad filename and line number | ||||
* | ENH: Added support for special variables CMAKE_CURRENT_LIST_FILE and ↵ | Brad King | 2004-08-04 | 1 | -0/+2 |
| | | | | 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. | ||||
* | better error checking for FOREACH | Ken Martin | 2004-05-12 | 1 | -1/+2 |
| | |||||
* | ENH: Add RANGE support to FOREACH | Andy Cedilnik | 2004-04-29 | 1 | -1/+73 |
| | |||||
* | perf improvement | Ken Martin | 2003-06-23 | 1 | -2/+5 |
| | |||||
* | ENH: Moved ExpandListVariables out of individual commands. Argument ↵ | Brad King | 2002-12-11 | 1 | -48/+44 |
| | | | | 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 King | 2002-10-23 | 1 | -4/+4 |
| | | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs. | ||||
* | removed some includes | Ken Martin | 2002-09-27 | 1 | -1/+0 |
| | |||||
* | fixed if statements inside a foreach | Ken Martin | 2002-07-17 | 1 | -1/+7 |
| | |||||
* | ENH: support semi-colon format (list of args as string) | Sebastien Barre | 2002-03-25 | 1 | -1/+4 |
| | |||||
* | ENH:Updated copyright | Will Schroeder | 2002-01-21 | 1 | -29/+5 |
| | |||||
* | new borland generator moved into place | Bill Hoffman | 2001-11-30 | 1 | -1/+1 |
| | |||||
* | ENH: clean up warnings | Bill Hoffman | 2001-11-13 | 1 | -1/+1 |
| | |||||
* | ENH: change InitialPass to take a const reference to the argument string, to ↵ | Bill Hoffman | 2001-09-20 | 1 | -2/+2 |
| | | | | avoid changes to the file cache | ||||
* | new commands | Ken Martin | 2001-07-25 | 1 | -0/+131 |