summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-06 14:31:43 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-06 18:30:19 (GMT)
commit67734be8cf4cb7fa1c29ec62a19ef04dd898a08c (patch)
tree83da920648a7c7bf558e87a48f32e2aac318059b /Source/cmLocalVisualStudio6Generator.cxx
parent4ae7f3656b6ebe7c878716b95ef5eb3d924d4173 (diff)
downloadCMake-67734be8cf4cb7fa1c29ec62a19ef04dd898a08c.zip
CMake-67734be8cf4cb7fa1c29ec62a19ef04dd898a08c.tar.gz
CMake-67734be8cf4cb7fa1c29ec62a19ef04dd898a08c.tar.bz2
VS: Simplify object name computation
Simplify cmLocalVisualStudioGenerator::ComputeObjectNameRequirements to loop over the original vector of source files instead of recursively traversing source groups just to find the same files. Drop from cmVisualStudio10TargetGenerator::ComputeObjectNames temporary source group calculation now that it is not needed for computing object names.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 56b9869..dd51a2d 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -380,7 +380,7 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
}
// Compute which sources need unique object computation.
- this->ComputeObjectNameRequirements(sourceGroups);
+ this->ComputeObjectNameRequirements(classes);
// Write the DSP file's header.
this->WriteDSPHeader(fout, libName, target, sourceGroups);