mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
ENH: Add a depends check step to custom targets. Add support for the IMPLICIT_DEPENDS feature of custom commands when building in custom targets. Convert multiple-output pair checks to be per-target instead of global.
This commit is contained in:
@@ -45,9 +45,6 @@ void cmMakefileExecutableTargetGenerator::WriteRuleFiles()
|
||||
// write the per-target per-language flags
|
||||
this->WriteTargetLanguageFlags();
|
||||
|
||||
// Write the dependency generation rule.
|
||||
this->WriteTargetDependRules();
|
||||
|
||||
// write the link rules
|
||||
this->WriteExecutableRule(false);
|
||||
if(this->Target->NeedRelinkBeforeInstall())
|
||||
@@ -62,6 +59,10 @@ void cmMakefileExecutableTargetGenerator::WriteRuleFiles()
|
||||
// Write clean target
|
||||
this->WriteTargetCleanRules();
|
||||
|
||||
// Write the dependency generation rule. This must be done last so
|
||||
// that multiple output pair information is available.
|
||||
this->WriteTargetDependRules();
|
||||
|
||||
// close the streams
|
||||
this->CloseFileStreams();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user