diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-07-14 16:22:57 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-09 18:38:08 (GMT) |
commit | 531e40b95e80fbf5547b0a8d71196e819bb3aa3d (patch) | |
tree | c1b9f09d329496f511135c9665275e8fc21f6ccf /Source/cmLocalVisualStudio6Generator.cxx | |
parent | 38de54cf6f3daae70792fae1bf26b97bccc78de4 (diff) | |
download | CMake-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/cmLocalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index f10216a..fb12521 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -314,7 +314,8 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout, std::vector<cmSourceGroup> sourceGroups = this->Makefile->GetSourceGroups(); // get the classes from the source lists then add them to the groups - std::vector<cmSourceFile*> const & classes = target.GetSourceFiles(); + std::vector<cmSourceFile*> classes; + target.GetSourceFiles(classes); // now all of the source files have been properly assigned to the target // now stick them into source groups using the reg expressions |