mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
BUG: fix #5326: source files with the same name in different groups lead to colliding object file names
Alex
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user