summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 15:37:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-26 17:46:33 (GMT)
commitc2b7336ff3122c57a235aeaa1699ba5627ecf3ce (patch)
tree58638a12ead027a3e9ab1c67f358da46082632b4 /Source/cmLocalVisualStudio6Generator.cxx
parent69329fff70300debf10b62ac08a6bcee9ae7bc3c (diff)
downloadCMake-c2b7336ff3122c57a235aeaa1699ba5627ecf3ce.zip
CMake-c2b7336ff3122c57a235aeaa1699ba5627ecf3ce.tar.gz
CMake-c2b7336ff3122c57a235aeaa1699ba5627ecf3ce.tar.bz2
cmGeneratorTarget: Move GetConfigCommonSourceFiles from cmTarget.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 0d07536..3a44367 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -305,9 +305,12 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
// We may be modifying the source groups temporarily, so make a copy.
std::vector<cmSourceGroup> sourceGroups = this->Makefile->GetSourceGroups();
+ cmGeneratorTarget* gt =
+ this->GlobalGenerator->GetGeneratorTarget(&target);
+
// get the classes from the source lists then add them to the groups
std::vector<cmSourceFile*> classes;
- if (!target.GetConfigCommonSourceFiles(classes))
+ if (!gt->GetConfigCommonSourceFiles(classes))
{
return;
}