Brad King
|
d7a5d4c191
ENH: Added IMPLICIT_DEPENDS option to ADD_CUSTOM_COMMAND. It currently works only for Makefile generators. It allows a custom command to have implicit dependencies in the form of C or CXX sources.
|
преди 18 години |
Bill Hoffman
|
0044ce71bc
STYLE: add more docs
|
преди 18 години |
Brad King
|
c288da754a
BUG: Target names in the COMMAND part of a custom command should not create 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.
|
преди 18 години |
Brad King
|
168591e72d
BUG: COMMENT was missing from docs.
|
преди 19 години |
Brad King
|
2dfa2ba888
ENH: Added APPEND option to ADD_CUSTOM_COMMAND to allow extra dependencies 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.
|
преди 19 години |
Brad King
|
e4ec89d036
ENH: Added SYMBOLIC source file property to mark custom command outputs that 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.
|
преди 19 години |
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.
|
преди 19 години |
Brad King
|
4c2c2cfd68
BUG: Clarified documentation about custom command outputs and custom target dependencies.
|
преди 19 години |
Brad King
|
d5719f22c1
ENH: Added support for multiple outputs generated by a single custom 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.
|
преди 19 години |
Bill Hoffman
|
347c5f4b46
ENH: add working directory support
|
преди 20 години |
Brad King
|
b8a77b2965
BUG: Fixed formatting of generated documentation.
|
преди 21 години |
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.
|
преди 21 години |
Ken Martin
|
84a1d5e553
update docs
|
преди 21 години |
Ken Martin
|
072db6ad70
removed redundent includes
|
преди 22 години |
Brad King
|
ac0911e08b
ENH: Tweaked whitespace in documentation of command.
|
преди 22 години |
Bill Hoffman
|
3154a6649a
command should nto be inherited
|
преди 22 години |
Ken Martin
|
3a4d2e248e
better docs
|
преди 22 години |
Ken Martin
|
9c0aa78c0d
better docs
|
преди 22 години |
Ken Martin
|
ba68f771b3
yikes added new custom command support
|
преди 22 години |
Brad King
|
ba56262ae2
Fix to documentation formatting: removed extra newline.
|
преди 23 години |
Brad King
|
a02574158d
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
|
преди 23 години |
Bill Hoffman
|
455b262cfe
ENH: clean up docs some
|
преди 23 години |
Andy Cedilnik
|
3893ee72d2
Add comment support, so that you can see in build process what the custom command does
|
преди 23 години |
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.
|
преди 23 години |
Sebastien Barre
|
9b8926925b
ENH: use target as source if source is empty
|
преди 23 години |
Will Schroeder
|
a6a43d5320
ENH:Updated copyright
|
преди 24 години |
Andy Cedilnik
|
58ee855503
Fix add custom command so that it actually executes the code
|
преди 24 години |
Sebastien Barre
|
bdf0241d2e
SOURCE, COMMAND, TARGET are required now
|
преди 24 години |
Sebastien Barre
|
6b5e54744c
Reimplement code. Since a custom command is very flexible and might be extended in the future, make all arguments prefixed with arg type, make ordering irrelevant and potentially all args optional.
|
преди 24 години |
Andy Cedilnik
|
39766efaaa
Added accessor for add custom command
|
преди 24 години |