mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
ENH: major change, the cmMakefile now contains a master list of cmSourceFile objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc.
This commit is contained in:
@@ -64,12 +64,12 @@ void cmInstallFilesCommand::FinalPass()
|
||||
// look for a srclist
|
||||
if (m_Makefile->GetSources().find(temps) != m_Makefile->GetSources().end())
|
||||
{
|
||||
const std::vector<cmSourceFile> &clsList =
|
||||
const std::vector<cmSourceFile*> &clsList =
|
||||
m_Makefile->GetSources().find(temps)->second;
|
||||
std::vector<cmSourceFile>::const_iterator c = clsList.begin();
|
||||
std::vector<cmSourceFile*>::const_iterator c = clsList.begin();
|
||||
for (; c != clsList.end(); ++c)
|
||||
{
|
||||
testf = c->GetSourceName() + ext;
|
||||
testf = (*c)->GetSourceName() + ext;
|
||||
// add to the result
|
||||
targetSourceLists.push_back(testf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user