summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-23 18:13:44 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-23 18:13:44 (GMT)
commitd21dc588efaa7b54ab37635747a3086513bfaa5b (patch)
tree91abc6adbca7caca68847a6bdd1ef5f5a8a9a880 /Source/cmGlobalVisualStudio71Generator.cxx
parente521c5674dbb2fa0b203455bc7de7a7fe8982edb (diff)
downloadCMake-d21dc588efaa7b54ab37635747a3086513bfaa5b.zip
CMake-d21dc588efaa7b54ab37635747a3086513bfaa5b.tar.gz
CMake-d21dc588efaa7b54ab37635747a3086513bfaa5b.tar.bz2
BUG: Disable static lib deps until a global cycle removal can be done.
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index adb3f57..2c35a41 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -317,6 +317,7 @@ cmGlobalVisualStudio71Generator
const char* dspname,
const char*, cmTarget& target)
{
+#if 0
// Create inter-target dependencies in the solution file. For VS
// 7.1 and below we cannot let static libraries depend directly on
// targets to which they "link" because the librarian tool will copy
@@ -324,7 +325,10 @@ cmGlobalVisualStudio71Generator
// cmGlobalVisualStudioGenerator::FixUtilityDependsForTarget for a
// work-around. VS 8 and above do not have this problem.
if (!this->VSLinksDependencies() ||
- target.GetType() != cmTarget::STATIC_LIBRARY)
+ target.GetType() != cmTarget::STATIC_LIBRARY);
+#else
+ if (target.GetType() != cmTarget::STATIC_LIBRARY)
+#endif
{
cmTarget::LinkLibraryVectorType::const_iterator j, jend;
j = target.GetLinkLibraries().begin();