diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-27 21:05:43 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-27 21:05:43 (GMT) |
commit | 94f0eca6897dcaff3d109cea78510d439adbb128 (patch) | |
tree | bfcf1ef729f7fd7e9641843cd1b57f0c7a267ddf /Source/cmLocalVisualStudioGenerator.h | |
parent | 8302ea66d2b385c6161c69b0afd28d64dd44f135 (diff) | |
download | CMake-94f0eca6897dcaff3d109cea78510d439adbb128.zip CMake-94f0eca6897dcaff3d109cea78510d439adbb128.tar.gz CMake-94f0eca6897dcaff3d109cea78510d439adbb128.tar.bz2 |
BUG: fix #5326: source files with the same name in different groups lead to colliding object file names
Alex
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.h')
-rw-r--r-- | Source/cmLocalVisualStudioGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.h b/Source/cmLocalVisualStudioGenerator.h index 9528fd4..64ce01d 100644 --- a/Source/cmLocalVisualStudioGenerator.h +++ b/Source/cmLocalVisualStudioGenerator.h @@ -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; }; |