summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()Brad King2008-06-021-7/+1
| | | | | | | | - Option was recently added but never released. - Custom commands no longer depend on build.make so we do not need the option. - Rule hashes now take care of rebuilding when rules change so the dependency is not needed.
* ENH: Add SKIP_RULE_DEPENDS option for add_custom_command()Brad King2008-05-141-1/+7
| | | | | | - Allows make rules to be created with no dependencies. - Such rules will not re-run even if the commands themselves change. - Useful to create rules that run only if the output is missing.
* ENH: Make add_custom_command interpret relative OUTPUT locations with ↵Brad King2008-01-301-0/+3
| | | | 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-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: make commands lower case by defaultKen Martin2007-10-101-4/+4
|
* ENH: Added IMPLICIT_DEPENDS option to ADD_CUSTOM_COMMAND. It currently ↵Brad King2007-09-171-0/+10
| | | | works only for Makefile generators. It allows a custom command to have implicit dependencies in the form of C or CXX sources.
* STYLE: add more docsBill Hoffman2007-07-171-1/+4
|
* BUG: Target names in the COMMAND part of a custom command should not create ↵Brad King2007-05-231-1/+17
| | | | a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
* BUG: COMMENT was missing from docs.Brad King2006-10-041-3/+4
|
* ENH: Added APPEND option to ADD_CUSTOM_COMMAND to allow extra dependencies ↵Brad King2006-10-041-2/+10
| | | | 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.
* ENH: Added SYMBOLIC source file property to mark custom command outputs that ↵Brad King2006-10-021-1/+4
| | | | are never actually created on disk. This is used by the Watcom WMake generator to generate the .SYMBOLIC mark on the files in the make system.
* ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET ↵Brad King2006-09-281-3/+11
| | | | commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786.
* BUG: Clarified documentation about custom command outputs and custom target ↵Brad King2006-06-151-4/+6
| | | | dependencies.
* ENH: Added support for multiple outputs generated by a single custom ↵Brad King2006-04-111-1/+3
| | | | 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: add working directory supportBill Hoffman2006-02-081-1/+5
|
* BUG: Fixed formatting of generated documentation.Brad King2005-02-221-3/+3
|
* ENH: Updated implementation of custom commands. Multiple command lines are ↵Brad King2005-02-221-6/+9
| | | | 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.
* update docsKen Martin2004-04-221-1/+4
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Tweaked whitespace in documentation of command.Brad King2003-08-061-8/+6
|
* command should nto be inheritedBill Hoffman2003-06-041-6/+0
|
* better docsKen Martin2003-06-031-29/+0
|
* better docsKen Martin2003-06-031-20/+6
|
* yikes added new custom command supportKen Martin2003-06-031-25/+52
|
* Fix to documentation formatting: removed extra newline.Brad King2003-02-191-1/+1
|
* ENH: Cleaned up documentation and formatted it for use by cmDocumentation.Brad King2003-02-141-17/+30
|
* ENH: clean up docs someBill Hoffman2002-12-301-1/+16
|
* Add comment support, so that you can see in build process what the custom ↵Andy Cedilnik2002-12-101-2/+2
| | | | command does
* 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.
* ENH: use target as source if source is emptySebastien Barre2002-04-111-1/+1
|
* ENH:Updated copyrightWill Schroeder2002-01-211-4/+5
|
* Fix add custom command so that it actually executes the codeAndy Cedilnik2002-01-031-0/+18
|
* SOURCE, COMMAND, TARGET are required nowSebastien Barre2001-11-091-1/+1
|
* Reimplement code. Since a custom command is very flexible and might be ↵Sebastien Barre2001-11-091-2/+3
| | | | extended in the future, make all arguments prefixed with arg type, make ordering irrelevant and potentially all args optional.
* Added accessor for add custom commandAndy Cedilnik2001-11-071-0/+79