summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Make add_custom_command interpret relative OUTPUT locations with ↵Brad King2008-01-301-1/+11
| | | | respect to the build tre instead of the source tree. This can greatly simplify user code since generating a file will not need to reference CMAKE_CURRENT_BINARY_DIR. The new behavior is what users expect 99% of the time.
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-2/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: Added IMPLICIT_DEPENDS option to ADD_CUSTOM_COMMAND. It currently ↵Brad King2007-09-171-0/+52
| | | | works only for Makefile generators. It allows a custom command to have implicit dependencies in the form of C or CXX sources.
* ENH: Added APPEND option to ADD_CUSTOM_COMMAND to allow extra dependencies ↵Brad King2006-10-041-0/+35
| | | | to be connected later. This is useful to create one rule and then have a macro add things to it later. This addresses bug#2151.
* BUG: Fix/cleanup custom commands and custom targets. Make empty comment ↵Brad King2006-09-281-6/+8
| | | | strings work. Fix ZERO_CHECK target always out of date for debugging. Fix Makefile driving of custom commands in a custom target. Fix dependencies on custom targets not in ALL in VS generators.
* ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET ↵Brad King2006-09-281-7/+15
| | | | commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786.
* ENH: Added support for multiple outputs generated by a single custom ↵Brad King2006-04-111-31/+39
| | | | command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds.
* ENH: Allow blocking of writing into the source treeAndy Cedilnik2006-03-221-0/+22
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-4/+4
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-5/+7
|
* ENH: fix broken testsBill Hoffman2006-02-081-1/+0
|
* ENH: add working directory supportBill Hoffman2006-02-081-3/+13
|
* ENH: fix for earlier fix on source with relative pathKen Martin2005-08-081-1/+1
|
* BUG: Do not convert SOURCE argument from relative to full path. It breaks ↵Brad King2005-08-081-1/+6
| | | | the old-style SOURCE==TARGET trick and the SOURCE argument is only present for old-style commands anyway. This addresses bug#2120.
* ENH: slightly modified version of Alex's relative path arguments for custom ↵Ken Martin2005-07-081-22/+39
| | | | commands
* ENH: Added check for invalid characters in output name.Brad King2005-03-221-0/+10
|
* ENH: Updated implementation of custom commands. Multiple command lines are ↵Brad King2005-02-221-44/+45
| | | | 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.
* ENH: Fix typo: Bug #100 - Spelling correction to an error messageAndy Cedilnik2003-07-291-1/+1
|
* ENH: better error checkingBill Hoffman2003-07-151-0/+8
|
* yikes added new custom command supportKen Martin2003-06-031-12/+57
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-4/+2
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* Add comment support, so that you can see in build process what the custom ↵Andy Cedilnik2002-12-101-8/+12
| | | | command does
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-4/+4
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* remove unused variablesKen Martin2002-09-151-1/+0
|
* ENH: add list expansion backBill Hoffman2002-05-221-2/+4
|
* ENH: backwards compatible for VTK 4.0, add cmake version requiresBill Hoffman2002-04-171-4/+2
|
* ENH: use target as source if source is emptySebastien Barre2002-04-111-8/+12
|
* make sure ; expansion is done in all commandsBill Hoffman2002-03-291-2/+4
|
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-3/+1
|
* ENH:Updated copyrightWill Schroeder2002-01-211-4/+5
|
* Remove hack.Sebastien Barre2002-01-161-28/+0
|
* Hack to make it work almost like beforeAndy Cedilnik2002-01-161-1/+7
|
* Fix add custom command so that it actually executes the codeAndy Cedilnik2002-01-031-0/+25
|
* SOURCE, COMMAND, TARGET are required nowSebastien Barre2001-11-091-6/+2
|
* Reimplement code. Since a custom command is very flexible and might be ↵Sebastien Barre2001-11-091-44/+95
| | | | extended in the future, make all arguments prefixed with arg type, make ordering irrelevant and potentially all args optional.
* Fix number of params and expand vars in all argsSebastien Barre2001-11-081-10/+25
|
* Added accessor for add custom commandAndy Cedilnik2001-11-071-0/+73