24 Commits (bde7f6c023fc0425502191e409f331ce9f3fd154)

Author SHA1 Message Date
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
Brad King 09289aadb6 ENH: Removed "Used" mark from custom commands. It is no longer needed or checked by any generators. 18 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 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 years ago
Brad King 16cafd5cdf COMP: Fix init order. 19 years ago
Brad King 4babd52d8d BUG: The copy constructor should copy the escape settings. 19 years ago
Brad King dd332a00cc ENH: Re-implemented command line argument shell quoting to support several platforms with one code base. 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
Ken Martin 3d96e52261 STYLE: some m_ to this-> cleanup 20 years ago
Andy Cedilnik 634343c3e8 STYLE: Fix some style issues 20 years ago
Bill Hoffman 347c5f4b46 ENH: add working directory support 20 years ago
Bill Hoffman a91947039a ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile 20 years ago
Ken Martin 825a762a30 ENH: always write out all custom commands 20 years ago
Ken Martin b25dea9f11 ENH: add test to make sure custom commands are used 20 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
Bill Hoffman fc0a916eee ENH: allow duplicate commands with the same output to be reduced automatically to one command 22 years ago
Ken Martin 0b3b21fa63 warning fixes 22 years ago
Ken Martin ba68f771b3 yikes added new custom command support 22 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
Will Schroeder a6a43d5320 ENH:Updated copyright 24 years ago
Bill Hoffman cc5c1fa6f7 ENH: separate command from its arguments in the custom command. This allows the generator on windows to change the slashes for just the command 24 years ago
Will Schroeder 54cfe84f3f ENH:New copyright 25 years ago
Ken Martin 865ec96644 major changes to support multiple libraries and source lists 25 years ago