Stephen Kelly
|
21c573f682
Remove some c_str() calls.
|
11 年之前 |
Stephen Kelly
|
f2eee72fac
add_custom_command: Disallow use of SOURCE signatures.
|
11 年之前 |
Brad King
|
128605054a
Normalize slashes of add_custom_(command|target) DEPENDS (#11973)
|
14 年之前 |
Brad King
|
88548a45fb
Handle relative WORKING_DIRECTORY in add_custom_(command|target)
|
14 年之前 |
Brad King
|
a75a0a1448
Normalize add_custom_command OUTPUT names (#10485)
|
15 年之前 |
Brad King
|
96afb12087
Convert CMake to OSI-approved BSD License
|
16 年之前 |
Brad King
|
bed3ac8741
ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()
|
17 年之前 |
Brad King
|
600e5e274e
ENH: Add SKIP_RULE_DEPENDS option for add_custom_command()
|
17 年之前 |
Brad King
|
e9503a174e
ENH: Make add_custom_command interpret relative OUTPUT locations with 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.
|
17 年之前 |
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
|
18 年之前 |
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 年之前 |
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
|
9a1d4e92eb
BUG: Fix/cleanup custom commands and custom targets. Make empty comment 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.
|
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
|
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 年之前 |
Andy Cedilnik
|
ee1975570e
ENH: Allow blocking of writing into the source tree
|
19 年之前 |
Ken Martin
|
3d96e52261
STYLE: some m_ to this-> cleanup
|
19 年之前 |
Andy Cedilnik
|
634343c3e8
STYLE: Fix some style issues
|
19 年之前 |
Bill Hoffman
|
ccdca71332
ENH: fix broken tests
|
19 年之前 |
Bill Hoffman
|
347c5f4b46
ENH: add working directory support
|
19 年之前 |
Ken Martin
|
fd05925bda
ENH: fix for earlier fix on source with relative path
|
20 年之前 |
Brad King
|
bb043289d0
BUG: Do not convert SOURCE argument from relative to full path. It breaks the old-style SOURCE==TARGET trick and the SOURCE argument is only present for old-style commands anyway. This addresses bug#2120.
|
20 年之前 |
Ken Martin
|
91730c6005
ENH: slightly modified version of Alex's relative path arguments for custom commands
|
20 年之前 |
Brad King
|
289429cd00
ENH: Added check for invalid characters in output name.
|
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 年之前 |
Andy Cedilnik
|
4ef0f1414c
ENH: Fix typo: Bug #100 - Spelling correction to an error message
|
22 年之前 |
Bill Hoffman
|
aeab59d9e7
ENH: better error checking
|
22 年之前 |
Ken Martin
|
ba68f771b3
yikes added new custom command support
|
22 年之前 |
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.
|
23 年之前 |
Andy Cedilnik
|
3893ee72d2
Add comment support, so that you can see in build process what the custom command does
|
23 年之前 |