diff options
author | Brad King <brad.king@kitware.com> | 2007-05-01 17:51:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-01 17:51:25 (GMT) |
commit | c51c245efa2cf6608e97862edbf7c1ba038e0cf2 (patch) | |
tree | 806b43b07962b817819f38590df63cfe1b96c81c /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | ef0b9ff2ccb1b40c23fb90d9feb36d261642eef1 (diff) | |
download | CMake-c51c245efa2cf6608e97862edbf7c1ba038e0cf2.zip CMake-c51c245efa2cf6608e97862edbf7c1ba038e0cf2.tar.gz CMake-c51c245efa2cf6608e97862edbf7c1ba038e0cf2.tar.bz2 |
BUG: A utility target should not run the custom commands from its source files directly. The target-level rule must add dependencies on the file-level custom commands to drive them. This bug was introduced by the "fix" to bug 4377. This also restores the documented behavior that PRE_BUILD rules are treated as PRE_LINK rules on non-VS generators. Also fixed custom command dependencies on the rule file build.make so that custom commands re-run when the commands themselves change.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 677f9f3..ccb13e9 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -27,7 +27,7 @@ //---------------------------------------------------------------------------- cmMakefileExecutableTargetGenerator::cmMakefileExecutableTargetGenerator() { - this->DriveCustomCommandsOnDepends = true; + this->CustomCommandDriver = OnDepends; } //---------------------------------------------------------------------------- |