summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-14 16:22:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-09 18:38:08 (GMT)
commit531e40b95e80fbf5547b0a8d71196e819bb3aa3d (patch)
treec1b9f09d329496f511135c9665275e8fc21f6ccf /Source/cmVisualStudio10TargetGenerator.cxx
parent38de54cf6f3daae70792fae1bf26b97bccc78de4 (diff)
downloadCMake-531e40b95e80fbf5547b0a8d71196e819bb3aa3d.zip
CMake-531e40b95e80fbf5547b0a8d71196e819bb3aa3d.tar.gz
CMake-531e40b95e80fbf5547b0a8d71196e819bb3aa3d.tar.bz2
cmTarget: Make GetSourceFiles populate an out-vector parameter.
In a future patch, this will also be populated with extra sources from the linked dependencies.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 0a2c339..46ab383 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -699,7 +699,8 @@ void cmVisualStudio10TargetGenerator::WriteGroups()
// collect up group information
std::vector<cmSourceGroup> sourceGroups =
this->Makefile->GetSourceGroups();
- std::vector<cmSourceFile*> classes = this->Target->GetSourceFiles();
+ std::vector<cmSourceFile*> classes;
+ this->Target->GetSourceFiles(classes);
std::set<cmSourceGroup*> groupsUsed;
for(std::vector<cmSourceFile*>::const_iterator s = classes.begin();