31 Commits (67e8012783da07b165261d93636d2523e142c67c)

Author SHA1 Message Date
Ken Martin 8d32d229a3 ENH: make commands lower case by default 18 years ago
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 years ago
Bill Hoffman 0044ce71bc STYLE: add more docs 18 years ago
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 years ago
Brad King 168591e72d BUG: COMMENT was missing from docs. 19 years ago
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 years ago
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 years ago
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 years ago
Brad King 4c2c2cfd68 BUG: Clarified documentation about custom command outputs and custom target dependencies. 19 years ago
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. 20 years ago
Bill Hoffman 347c5f4b46 ENH: add working directory support 20 years ago
Brad King b8a77b2965 BUG: Fixed formatting of generated documentation. 21 years ago
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 years ago
Ken Martin 84a1d5e553 update docs 22 years ago
Ken Martin 072db6ad70 removed redundent includes 22 years ago
Brad King ac0911e08b ENH: Tweaked whitespace in documentation of command. 22 years ago
Bill Hoffman 3154a6649a command should nto be inherited 22 years ago
Ken Martin 3a4d2e248e better docs 22 years ago
Ken Martin 9c0aa78c0d better docs 22 years ago
Ken Martin ba68f771b3 yikes added new custom command support 22 years ago
Brad King ba56262ae2 Fix to documentation formatting: removed extra newline. 23 years ago
Brad King a02574158d ENH: Cleaned up documentation and formatted it for use by cmDocumentation. 23 years ago
Bill Hoffman 455b262cfe ENH: clean up docs some 23 years ago
Andy Cedilnik 3893ee72d2 Add comment support, so that you can see in build process what the custom command does 23 years ago
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 years ago
Sebastien Barre 9b8926925b ENH: use target as source if source is empty 24 years ago
Will Schroeder a6a43d5320 ENH:Updated copyright 24 years ago
Andy Cedilnik 58ee855503 Fix add custom command so that it actually executes the code 24 years ago
Sebastien Barre bdf0241d2e SOURCE, COMMAND, TARGET are required now 24 years ago
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 years ago
Andy Cedilnik 39766efaaa Added accessor for add custom command 24 years ago
Bill Hoffman baa28efd10 ENH: change InitialPass to take a const reference to the argument string, to avoid changes to the file cache 24 years ago
Bill Hoffman 43c2a89568 ENH: add optional include and only allow one file per INCLUDE 24 years ago
Bill Hoffman 9922155423 ENH: rename Invoke to InitialPass 25 years ago
Anonymous d6fae5faf0 New command: INCLUDE(somefile.txt) 25 years ago
Ken Martin 30ad61805b bug fixes 25 years ago
Brad King 463e466be3 ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses. 25 years ago
Ken Martin 43859e36cf ENH: add new commands fro find library and find program 25 years ago
Will Schroeder 658614ff6a ENH:Reworked CMake for consistency 25 years ago
Will Schroeder cacd6d1604 ENH:Tweaks to dump documentation 25 years ago
Will Schroeder 5faa3b9f28 ENH:Added documentation; clean-up 25 years ago
Will Schroeder 26dbdd4671 ENH:Beginning clean up; adding documentation 25 years ago
Bill Hoffman c54a05bfc7 ENH: rework cmake, added ruleMaker classes and changed the syntax of the CMakeLists.txt files. 25 years ago