BUG: fix #5326: source files with the same name in different groups lead to colliding object file names

Alex
This commit is contained in:
Alexander Neundorf
2007-08-27 17:05:43 -04:00
parent 8302ea66d2
commit 94f0eca689
2 changed files with 62 additions and 41 deletions

View File

@@ -46,6 +46,11 @@ protected:
// Safe object file name generation.
void ComputeObjectNameRequirements(std::vector<cmSourceGroup> const&);
bool SourceFileCompiles(const cmSourceFile* sf);
void CountObjectNames(const std::vector<cmSourceGroup>& groups,
std::map<cmStdString, int>& count);
void InsertNeedObjectNames(const std::vector<cmSourceGroup>& groups,
std::map<cmStdString, int>& count);
std::set<const cmSourceFile*> NeedObjectName;
};