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/cmMakefileLibraryTargetGenerator.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/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index 717b0dd..5325c06 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -29,7 +29,7 @@ //---------------------------------------------------------------------------- cmMakefileLibraryTargetGenerator::cmMakefileLibraryTargetGenerator() { - this->DriveCustomCommandsOnDepends = true; + this->CustomCommandDriver = OnDepends; } //---------------------------------------------------------------------------- |