Allow for static libraries to depend on other targets so that the MSBuild runs build things in the correct order

This commit is contained in:
Bill Hoffman 2009-08-05 10:45:10 -04:00
parent 87442aefb0
commit 7b36fd637c

View File

@ -1221,11 +1221,6 @@ void cmVisualStudio10TargetGenerator::WriteEvent(
void cmVisualStudio10TargetGenerator::WriteProjectReferences()
{
// for static libs do not list references
if (this->Target->GetType() == cmTarget::STATIC_LIBRARY)
{
return;
}
cmGlobalGenerator::TargetDependSet& depends
= this->GlobalGenerator->GetTargetDirectDepends(*this->Target);
this->WriteString("<ItemGroup>\n", 1);