mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 16:18:43 -05:00
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.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
//----------------------------------------------------------------------------
|
||||
cmMakefileExecutableTargetGenerator::cmMakefileExecutableTargetGenerator()
|
||||
{
|
||||
this->DriveCustomCommandsOnDepends = true;
|
||||
this->CustomCommandDriver = OnDepends;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user