|
@@ -547,6 +547,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ cmNinjaDeps byproducts;
|
|
|
|
|
+
|
|
|
if (!this->TargetNameImport.empty())
|
|
if (!this->TargetNameImport.empty())
|
|
|
{
|
|
{
|
|
|
const std::string impLibPath = localGen.ConvertToOutputFormat(
|
|
const std::string impLibPath = localGen.ConvertToOutputFormat(
|
|
@@ -556,7 +558,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
|
|
EnsureParentDirectoryExists(impLibPath);
|
|
EnsureParentDirectoryExists(impLibPath);
|
|
|
if(target.HasImportLibrary())
|
|
if(target.HasImportLibrary())
|
|
|
{
|
|
{
|
|
|
- outputs.push_back(targetOutputImplib);
|
|
|
|
|
|
|
+ byproducts.push_back(targetOutputImplib);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -602,7 +604,6 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
|
|
&postBuildCmdLines
|
|
&postBuildCmdLines
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- cmNinjaDeps byproducts;
|
|
|
|
|
for (unsigned i = 0; i != 3; ++i)
|
|
for (unsigned i = 0; i != 3; ++i)
|
|
|
{
|
|
{
|
|
|
for (std::vector<cmCustomCommand>::const_iterator
|
|
for (std::vector<cmCustomCommand>::const_iterator
|