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
|
19 年之前 |
Brad King
|
b8a77b2965
BUG: Fixed formatting of generated documentation.
|
20 年之前 |
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.
|
20 年之前 |
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 年之前 |