cmTarget: Make GetSourceFiles populate an out-vector parameter.

In a future patch, this will also be populated with extra
sources from the linked dependencies.
This commit is contained in:
Stephen Kelly
2013-07-14 18:22:57 +02:00
parent 38de54cf6f
commit 531e40b95e
18 changed files with 54 additions and 33 deletions
+2 -1
View File
@@ -1381,7 +1381,8 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout,
// get the classes from the source lists then add them to the groups
this->ModuleDefinitionFile = "";
std::vector<cmSourceFile*>const & classes = target.GetSourceFiles();
std::vector<cmSourceFile*> classes;
target.GetSourceFiles(classes);
for(std::vector<cmSourceFile*>::const_iterator i = classes.begin();
i != classes.end(); i++)
{