summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-11-12 17:42:50 (GMT)
committerBrad King <brad.king@kitware.com>2010-11-12 17:42:50 (GMT)
commit82596fcffcdf3e536fb0def67f6d4d1d1a3e5207 (patch)
treef9e416cab19502ed956a0131aa45c4c8d710018b /Source/cmGlobalVisualStudio8Generator.cxx
parente6975fe82fc682a47739f3fad695610f045447ae (diff)
parent1a0c166a266cade3bf07cc4d205dedfe2d570bd0 (diff)
downloadCMake-82596fcffcdf3e536fb0def67f6d4d1d1a3e5207.zip
CMake-82596fcffcdf3e536fb0def67f6d4d1d1a3e5207.tar.gz
CMake-82596fcffcdf3e536fb0def67f6d4d1d1a3e5207.tar.bz2
Merge branch 'vs8-direct-depends' into vs-target-dependencies
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index 7c65c32..76d01e7 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -289,6 +289,20 @@ cmGlobalVisualStudio8Generator
}
//----------------------------------------------------------------------------
+void cmGlobalVisualStudio8Generator::WriteProjectDepends(
+ std::ostream& fout, const char*, const char*, cmTarget& t)
+{
+ TargetDependSet const& unordered = this->GetTargetDirectDepends(t);
+ OrderedTargetDependSet depends(unordered);
+ for(OrderedTargetDependSet::const_iterator i = depends.begin();
+ i != depends.end(); ++i)
+ {
+ std::string guid = this->GetGUID((*i)->GetName());
+ fout << "\t\t{" << guid << "} = {" << guid << "}\n";
+ }
+}
+
+//----------------------------------------------------------------------------
bool cmGlobalVisualStudio8Generator::NeedLinkLibraryDependencies(
cmTarget& target)
{