summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-08-05 14:45:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-08-05 14:45:10 (GMT)
commit7b36fd637cf9fa3fdc70edec924a48a4ca76f5ac (patch)
treec5ed316890ee80108977a6342fcf8d2ee6ba957f /Source/cmVisualStudio10TargetGenerator.cxx
parent87442aefb08c7621527598d4366e40d89c5ccaa3 (diff)
downloadCMake-7b36fd637cf9fa3fdc70edec924a48a4ca76f5ac.zip
CMake-7b36fd637cf9fa3fdc70edec924a48a4ca76f5ac.tar.gz
CMake-7b36fd637cf9fa3fdc70edec924a48a4ca76f5ac.tar.bz2
Allow for static libraries to depend on other targets so that the MSBuild runs build things in the correct order
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 19c02da..2a96932 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -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);