From e1dd0f6d1c084654257ec724de5fe680801b1486 Mon Sep 17 00:00:00 2001 From: hoffman Date: Wed, 5 Aug 2009 14:45:10 +0000 Subject: [PATCH] Allow for static libraries to depend on other targets so that the MSBuild runs build things in the correct order --- Source/cmVisualStudio10TargetGenerator.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index ea73bb5e7..bc568427f 100755 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -3,8 +3,8 @@ Program: CMake - Cross-Platform Makefile Generator Module: $RCSfile: cmVisualStudio10TargetGenerator.cxx,v $ Language: C++ - Date: $Date: 2009-07-14 18:16:46 $ - Version: $Revision: 1.12 $ + Date: $Date: 2009-08-05 14:45:10 $ + Version: $Revision: 1.13 $ Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. @@ -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("\n", 1); -- 2.11.4.GIT