Alexander Neundorf
|
69e9848fb4
|
BUG: this seems to fix the regexp result-storage problem, now it seems the actual result is tored instead of "1" , as it happened for StringFileTest on Windows
Alex
|
2007-08-29 14:35:06 -04:00 |
Alexander Neundorf
|
e80acd971c
|
ENH: also store the group matches from IF( MATCHES) in CMAKE_MATCH_(0..9)
Alex
|
2007-08-29 11:58:38 -04:00 |
Alexander Neundorf
|
c9f1af3913
|
ENH: add IF(IS_ABSOLUTE path), so no regex matching is required in the cmake scripts
Alex
|
2007-06-06 08:49:18 -04:00 |
Brad King
|
9a5b4eba97
|
BUG: All variable accesses should produce watch callbacks, including IF(DEFINED <var>) ones. Instead we define a new access type for IF(DEFINED) so that the error does not show up for backward compatibility variables.
|
2007-05-17 17:40:59 -04:00 |
Brad King
|
b8928b0c8e
|
BUG: Do not complain about missing watched variables when they are accessd with IF(DEFINED VAR).
|
2007-05-17 15:12:13 -04:00 |
Ken Martin
|
372ce05a07
|
ENH: fix a warning and a nice fix to the IF command
|
2006-12-12 10:07:20 -05:00 |
Ken Martin
|
27379d7b08
|
ENH: make properties a bit more formal with documentation and chaining
|
2006-12-07 09:45:32 -05:00 |
Ken Martin
|
d92f22023c
|
ENH: remove old hack now that project level compatibility files are supported
|
2006-11-16 15:31:34 -05:00 |
Brad King
|
b7e04e69ae
|
BUG: It cannot be an error if the values do not convert. The docs say that if the values do not convert the test is false.
|
2006-10-25 10:57:26 -04:00 |
Brad King
|
d563ab6677
|
BUG: For LESS, GREATER, and EQUAL check that the arguments can actually be converted to numbers. Also force the conversion results to be stored in memory to make sure they both use the same precision. This addresses bug#3966.
|
2006-10-25 10:31:26 -04:00 |
Brad King
|
b25629efc4
|
ENH: Remove old IF(FILE_IS_NEWER) syntax. It was never in a release anyway.
|
2006-10-23 17:14:20 -04:00 |
Brad King
|
d1a9c93119
|
ENH: Patch from Alex to provide nicer syntax for FILE_IS_NEWER. Using name IS_NEWER_THAN so old syntax will continue to work.
|
2006-10-23 13:37:24 -04:00 |
Ken Martin
|
5e46232ad8
|
ENH: added elseif
|
2006-09-22 11:23:51 -04:00 |
Brad King
|
9b89d84210
|
STYLE: Fixed line-too-long.
|
2006-08-26 10:29:11 -04:00 |
Brad King
|
6449089436
|
ENH: Patch from Alex for adding IF(FILE_IS_NEWER). I also added a test.
|
2006-08-25 16:31:07 -04:00 |
Ken Martin
|
c88c75b8f2
|
ENH: reduce string construct delete ops
|
2006-05-31 11:19:39 -04:00 |
Ken Martin
|
c8c3fff032
|
COMP: fix warning
|
2006-05-19 09:36:08 -04:00 |
Ken Martin
|
29a03db7ce
|
ENH: allow loose loop constructs
|
2006-05-18 13:50:01 -04:00 |
Ken Martin
|
ba2b99bb9f
|
STYLE: fix line length
|
2006-05-11 15:50:11 -04:00 |
Bill Hoffman
|
5a2668b326
|
ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64
|
2006-03-30 13:49:56 -05:00 |
Ken Martin
|
10efe3b079
|
ENH: added some new functionality
|
2006-03-22 14:06:52 -05:00 |
Ken Martin
|
3d96e52261
|
STYLE: some m_ to this-> cleanup
|
2006-03-15 11:02:08 -05:00 |
Brad King
|
84923605cf
|
ENH: Allow IF(DEFINED ENV{somevar}) to work.
|
2006-02-10 14:41:31 -05:00 |
Ken Martin
|
fb6d598813
|
BUG: clean up scoping
|
2005-11-17 09:44:32 -05:00 |
Ken Martin
|
435f4ad8b0
|
BUG: fix incrementing past end
|
2005-11-17 09:33:17 -05:00 |
Ken Martin
|
7321be8f6d
|
BUG: fix incrementing past end
|
2005-11-17 09:32:07 -05:00 |
Ken Martin
|
dec5cc1082
|
ENH: converted macro to use variables and fixed some case issues with some function blockers
|
2005-06-23 11:03:57 -04:00 |
Andy Cedilnik
|
87cab828b6
|
ERR: Fix warnings and memory leak
|
2004-08-04 08:50:37 -04:00 |
Andy Cedilnik
|
f3e58aeb7d
|
BUG: When regular expression failes to compile, produce error: Fixes part of Bug #1025 - CMake silently ignores regular expression failure
|
2004-08-03 08:13:54 -04:00 |
Ken Martin
|
a18fbc3b37
|
added strequal
|
2004-06-14 12:02:12 -04:00 |
Bill Hoffman
|
a014eee86a
|
BUG: fix crash for if statment due to bad microsoft docs on deque BUG id 917
|
2004-06-11 15:07:17 -04:00 |
Ken Martin
|
6c0fb31d50
|
horrible hack
|
2004-05-06 09:47:25 -04:00 |
Ken Martin
|
1f6e59a7fe
|
fix warning
|
2004-05-04 09:16:06 -04:00 |
Ken Martin
|
0d3bbe8123
|
minor backwards fix
|
2004-05-03 15:33:42 -04:00 |
Ken Martin
|
50db27739c
|
better if expression support
|
2004-05-01 10:08:14 -04:00 |
Bill Hoffman
|
c472345346
|
BUG: fix logic in EQUAL if test
|
2004-04-28 09:59:16 -04:00 |
Bill Hoffman
|
d76c9f8195
|
ENH: add a numeric EQUAL to the IF statment, very useful for variable arguments in MACROS
|
2004-04-28 09:51:06 -04:00 |
Brad King
|
38482b46d1
|
ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression.
|
2003-06-23 14:10:12 -04:00 |
Bill Hoffman
|
ca773a5d6d
|
ENH: add stdlib.h for portability to borland 6
|
2003-05-24 10:07:58 -04:00 |
Ken Martin
|
858c6c9a02
|
made more strict
|
2002-12-13 09:52:05 -05:00 |
Brad King
|
4888c088ae
|
ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
|
2002-12-11 18:13:33 -05:00 |
Ken Martin
|
5d2f83dad5
|
minor fix
|
2002-12-02 15:03:44 -05:00 |
Ken Martin
|
78b8d0af6c
|
fixed compiler warning
|
2002-11-15 12:54:04 -05:00 |
Bill Hoffman
|
f5d95fb078
|
Complete rework of makefile generators expect trouble
|
2002-11-08 15:46:08 -05:00 |
Brad King
|
1f6a3c67b1
|
ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
|
2002-10-23 18:03:27 -04:00 |
Ken Martin
|
2cf6730def
|
minor fix to allow if with no arguments
|
2002-10-07 09:16:31 -04:00 |
Brad King
|
6c2944b6fe
|
BUG: STRLESS and STRGREATER need to treat non-existent definitions as strings.
|
2002-10-02 17:22:56 -04:00 |
Ken Martin
|
7ddb408621
|
removed some includes
|
2002-09-27 16:24:10 -04:00 |
Brad King
|
94ff97ceed
|
*** empty log message ***
|
2002-09-24 14:49:34 -04:00 |
Ken Martin
|
4852c21b6f
|
hopefull another fix to if statements
|
2002-09-23 09:41:01 -04:00 |
Ken Martin
|
d7a1063b20
|
better error checking on If statements
|
2002-09-10 10:16:50 -04:00 |
Ken Martin
|
6deb5bbe70
|
better IF ELSE handling
|
2002-08-09 12:00:49 -04:00 |
Ken Martin
|
8b2a797b57
|
fix warning
|
2002-07-11 14:58:26 -04:00 |
Ken Martin
|
32ad30e883
|
better error handling with if statements
|
2002-07-10 11:38:38 -04:00 |
Ken Martin
|
a43a65bf34
|
consolidated IF handling and added checks for bad arguments
|
2002-07-01 08:49:36 -04:00 |
Bill Hoffman
|
20d9083455
|
modified MATCHES to handle non variables
|
2002-06-20 10:39:58 -04:00 |
Ken Martin
|
843da92405
|
adde less greater
|
2002-05-23 10:32:28 -04:00 |
Bill Hoffman
|
4651dbcfc6
|
ENH: expand variables in arguments before the commands get them
|
2002-03-05 18:41:24 -05:00 |
Will Schroeder
|
a6a43d5320
|
ENH:Updated copyright
|
2002-01-21 15:30:43 -05:00 |
Bill Hoffman
|
c0cd47a402
|
fix if logic for null defs
|
2002-01-18 16:45:42 -05:00 |
Bill Hoffman
|
97f50b6e7a
|
BUG: fix null pointer read if def is not defined
|
2002-01-18 07:04:51 -05:00 |
Ken Martin
|
d163cb7014
|
expand vars nwo for exists test
|
2002-01-03 09:34:40 -05:00 |
Ken Martin
|
e07ea14e31
|
added exists option for if statement
|
2002-01-02 16:46:08 -05:00 |
Bill Hoffman
|
240628c223
|
remove warning
|
2001-12-27 14:55:19 -05:00 |
Brad King
|
aa49d94ce0
|
ENH: Added error reporting for missing arguments to ENDIF.
|
2001-12-18 14:55:11 -05:00 |
Brad King
|
fd37e46eb3
|
ENH: Added option to IF command to test if a command exists. Syntax is IF(COMMAND name-of-command).
|
2001-12-18 09:39:26 -05:00 |
Sebastien Barre
|
b180bf609b
|
fix warning for Borland build
|
2001-11-30 17:20:43 -05:00 |
Ken Martin
|
03e7f324f0
|
better error messages
|
2001-11-26 11:31:50 -05:00 |
Bill Hoffman
|
baa28efd10
|
ENH: change InitialPass to take a const reference to the argument string, to avoid changes to the file cache
|
2001-09-20 15:08:30 -04:00 |
Ken Martin
|
c151f30861
|
backwards MATCHES in if and else statements
|
2001-08-17 17:11:42 -04:00 |
Berk Geveci
|
78da2d0699
|
BUG: or and and were inverted.
|
2001-08-09 14:58:47 -04:00 |
Ken Martin
|
d7702b4c30
|
added new if commands
|
2001-08-06 17:01:26 -04:00 |
Ken Martin
|
4ab2650802
|
added for each command
|
2001-07-25 16:53:13 -04:00 |
Bill Hoffman
|
9922155423
|
ENH: rename Invoke to InitialPass
|
2001-06-06 13:19:15 -04:00 |
Ken Martin
|
faaadc4a08
|
better If checks
|
2001-05-04 08:46:05 -04:00 |
Ken Martin
|
de203f736c
|
slight bug in If command I think
|
2001-05-01 16:27:51 -04:00 |
Ken Martin
|
a99dfa60ae
|
new set command and IF NOT
|
2001-05-01 11:16:20 -04:00 |
Ken Martin
|
2fb2207c10
|
bug fixes
|
2001-04-30 14:56:06 -04:00 |
Will Schroeder
|
54cfe84f3f
|
ENH:New copyright
|
2001-04-27 08:01:17 -04:00 |
Ken Martin
|
6e5af0e6cc
|
some fixes for If commands
|
2001-04-26 10:49:12 -04:00 |
Ken Martin
|
b5f62159ca
|
added if else endif add definition
|
2001-04-19 17:39:03 -04:00 |