Brad King
1c0595c73f
ENH: Add global property ALLOW_DUPLICATE_CUSTOM_TARGETS to help existing projects that depend on having duplicate custom targets. It is allowed only for Makefile generators. See bug#6348.
2008-02-14 16:42:29 -05:00
Brad King
a0715048da
COMP: Fix shadowed local variable warning.
2008-02-11 17:33:46 -05:00
Brad King
ac0e58dcfb
ENH: Enforce global target name uniqueness.
...
- Error if imported target is involved in conflict
- Error for non-imported target conflict unless
CMAKE_BACKWARDS_COMPATIBILITY <= 2.4
- Include OUTPUT_NAME property in error message
- Update add_executable and add_library command documentation
2008-02-11 13:35:39 -05:00
Ken Martin
0e69d38004
ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class
2008-01-23 10:28:26 -05:00
Ken Martin
c53b26baf2
ENH: some more cleanup
2007-03-13 15:18:27 -04:00
Brad King
5a6b0792cd
ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461.
2006-10-04 18:10:30 -04:00
Brad King
7d2de52c1a
ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.
2006-09-28 13:55:26 -04:00
Brad King
d01b6f1281
ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786.
2006-09-28 11:30:49 -04:00
Brad King
6ce165de43
ENH: Added diagnosis of bad target names.
2006-09-13 11:39:46 -04:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Andy Cedilnik
634343c3e8
STYLE: Fix some style issues
2006-03-10 13:06:26 -05:00
Bill Hoffman
ccdca71332
ENH: fix broken tests
2006-02-08 15:37:54 -05:00
Bill Hoffman
347c5f4b46
ENH: add working directory support
2006-02-08 10:58:36 -05:00
Brad King
289429cd00
ENH: Added check for invalid characters in output name.
2005-03-22 08:36:40 -05:00
Brad King
39af9ee1e4
ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues.
2005-02-22 10:32:44 -05:00
Brad King
bfd79e99e6
BUG: Fixed check of number of arguments.
2004-04-21 11:36:31 -04:00
Ken Martin
a293f8f7a0
fixed argument parsing
2003-11-13 14:45:40 -05:00
Ken Martin
ba68f771b3
yikes added new custom command support
2003-06-03 10:30:23 -04: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
Andy Cedilnik
ab64db6ee8
Allow target with no command
2002-12-10 16:45:19 -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
Bill Hoffman
7d76de4403
make sure ; expansion is done in all commands
2002-03-29 14:20:32 -05: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
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
Bill Hoffman
cc5c1fa6f7
ENH: separate command from its arguments in the custom command. This allows the generator on windows to change the slashes for just the command
2001-09-04 16:07:54 -04:00
Ken Martin
c84f6448a6
modified how paths are escaped, added depends
2001-06-26 13:23:55 -04:00
Bill Hoffman
9922155423
ENH: rename Invoke to InitialPass
2001-06-06 13:19:15 -04:00
Ken Martin
089aa3e106
option to make utilities in the all target
2001-05-04 15:50:26 -04:00
Bill Hoffman
8a21493f56
ENH: move testing stuff to cmake from configure, good bye dashboard... :)
2001-05-04 11:34:59 -04:00