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:
parent
87442aefb0
commit
7b36fd637c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue