mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
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:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user